mirror of
https://github.com/moparisthebest/curl
synced 2024-11-07 10:05:06 -05:00
1c4663bc42
Test 1409 and 1410 verifies the stricter numeric option parser
introduced the other day in commit f2b6ebed7b
.
31 lines
345 B
Plaintext
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>
|