1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-15 22:15:13 -05:00
curl/tests/data/test501
Dan Fandrich 33bea767eb Convert (most of) the test data files into genuine XML. A handful still
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.
2007-01-23 02:25:56 +00:00

33 lines
397 B
Plaintext

<testcase>
#
# Server-side
<reply name="1">
</reply>
# Client-side
<client>
<server>
file
</server>
# tool is what to use instead of 'curl'
<tool>
lib501
</tool>
<name>
simple libcurl attempt operation without URL set
</name>
<command>
http://%HOSTIP:%HTTPPORT/501
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<errorcode>
3
</errorcode>
</verify>
</testcase>