1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-13 21:15:08 -05:00
curl/tests/data/test1410
Daniel Stenberg 1c4663bc42 tests: verify the stricter numeric option parser
Test 1409 and 1410 verifies the stricter numeric option parser
introduced the other day in commit f2b6ebed7b.
2012-07-12 00:32:23 +02:00

31 lines
345 B
Plaintext

<testcase>
<info>
<keywords>
cmdline
</keywords>
</info>
#
# Client-side
<client>
<server>
none
</server>
<name>
Pass in negative number to --max-time
</name>
<command>
http://%HOSTIP:%HTTPPORT/1410 --max-time -4
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<errorcode>
2
</errorcode>
</verify>
</testcase>