diff options
author | Daniel Stenberg <daniel@haxx.se> | 2012-07-12 00:32:23 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2012-07-12 00:32:23 +0200 |
commit | 1c4663bc42985fd8fbd959bd9516d5ef77dae612 (patch) | |
tree | 2f710a41b80866fe5ee631eb0264a532c3d84652 /tests/data/test1410 | |
parent | d759a70db88205dd0629d6de602b9b60ede24f2d (diff) | |
download | curl-1c4663bc42985fd8fbd959bd9516d5ef77dae612.tar.gz |
tests: verify the stricter numeric option parser
Test 1409 and 1410 verifies the stricter numeric option parser
introduced the other day in commit f2b6ebed7b.
Diffstat (limited to 'tests/data/test1410')
-rw-r--r-- | tests/data/test1410 | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/data/test1410 b/tests/data/test1410 new file mode 100644 index 000000000..bcc78a856 --- /dev/null +++ b/tests/data/test1410 @@ -0,0 +1,30 @@ +<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> |