mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 08:38:49 -05:00
33bea767eb
are not, due mainly to the lack of support for XML character entities (e.g. & => & ). This will make it easier to validate test files using tools like xmllint, as well as edit and view them using XML tools.
43 lines
469 B
Plaintext
43 lines
469 B
Plaintext
<testcase>
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
<data mode="text">
|
|
foo
|
|
bar swsclose
|
|
bar
|
|
foo
|
|
moo
|
|
</data>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
file
|
|
</server>
|
|
# tool is what to use instead of 'curl'
|
|
<tool>
|
|
lib502
|
|
</tool>
|
|
|
|
<name>
|
|
simple multi file:// get
|
|
</name>
|
|
<command>
|
|
file://%PWD/log/test502.txt
|
|
</command>
|
|
<file name="log/test502.txt">
|
|
foo
|
|
bar swsclose
|
|
bar
|
|
foo
|
|
moo
|
|
</file>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
</verify>
|
|
</testcase>
|