summaryrefslogtreecommitdiff
path: root/tests/data/test1409
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2012-07-12 00:32:23 +0200
committerDaniel Stenberg <daniel@haxx.se>2012-07-12 00:32:23 +0200
commit1c4663bc42985fd8fbd959bd9516d5ef77dae612 (patch)
tree2f710a41b80866fe5ee631eb0264a532c3d84652 /tests/data/test1409
parentd759a70db88205dd0629d6de602b9b60ede24f2d (diff)
downloadcurl-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/test1409')
-rw-r--r--tests/data/test140930
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/data/test1409 b/tests/data/test1409
new file mode 100644
index 000000000..180e03ad1
--- /dev/null
+++ b/tests/data/test1409
@@ -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>