summaryrefslogtreecommitdiff
path: root/tests/data/test1179
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/test1179')
-rw-r--r--tests/data/test117943
1 files changed, 43 insertions, 0 deletions
diff --git a/tests/data/test1179 b/tests/data/test1179
new file mode 100644
index 000000000..206ee7cae
--- /dev/null
+++ b/tests/data/test1179
@@ -0,0 +1,43 @@
+<testcase>
+<info>
+<keywords>
+cmdline
+wrong option
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+none
+</server>
+# make this test require manual as the error message is different without it
+<features>
+manual
+</features>
+<name>
+error when using unknown command line option
+</name>
+<command>
+--never-implemented http://never.use.this.example.com/1179
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<errorcode>
+2
+</errorcode>
+<stderr mode="text">
+curl: option --never-implemented: is unknown
+curl: try 'curl --help' or 'curl --manual' for more information
+</stderr>
+</verify>
+</testcase>