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:
Daniel Stenberg 2012-07-12 00:32:23 +02:00
parent d759a70db8
commit 1c4663bc42
3 changed files with 61 additions and 1 deletions

30
tests/data/test1409 Normal file
View 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>