curl/tests/data/test501
raw| 1 | # |
| 2 | # Server-side |
| 3 | <reply name="1"> |
| 4 | </reply> |
| 5 | |
| 6 | # Client-side |
| 7 | <client> |
| 8 | <server> |
| 9 | file |
| 10 | </server> |
| 11 | # tool is what to use instead of 'curl' |
| 12 | <tool> |
| 13 | lib501 |
| 14 | </tool> |
| 15 | |
| 16 | <name> |
| 17 | simple libcurl attempt operation without URL set |
| 18 | </name> |
| 19 | <command> |
| 20 | http://%HOSTIP:%HTTPPORT/501 |
| 21 | </command> |
| 22 | </client> |
| 23 | |
| 24 | # |
| 25 | # Verify data after the test has been "shot" |
| 26 | <verify> |
| 27 | <errorcode> |
| 28 | 3 |
| 29 | </errorcode> |
| 30 | </verify> |