mirror of
https://github.com/curl/curl.git
synced 2026-08-25 13:23:33 +03:00
tests: verify the stricter numeric option parser
Test 1409 and 1410 verifies the stricter numeric option parser
introduced the other day in commit f2b6ebed7b.
This commit is contained in:
parent
d759a70db8
commit
1c4663bc42
3 changed files with 61 additions and 1 deletions
30
tests/data/test1409
Normal file
30
tests/data/test1409
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
cmdline
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
||||
#
|
||||
# Client-side
|
||||
<client>
|
||||
<server>
|
||||
none
|
||||
</server>
|
||||
<name>
|
||||
Pass in string to -C
|
||||
</name>
|
||||
<command>
|
||||
http://%HOSTIP:%HTTPPORT/1409 -C wrong
|
||||
</command>
|
||||
</client>
|
||||
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<errorcode>
|
||||
2
|
||||
</errorcode>
|
||||
</verify>
|
||||
</testcase>
|
||||
Loading…
Add table
Add a link
Reference in a new issue