aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test2036
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-10-09 16:50:26 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-10-09 16:50:26 +0200
commitbf7023d16502c83b173138a15593332d4e949d34 (patch)
treeaf8866ab817f85b4d2fc820c419604dade4487e4 /tests/data/test2036
parentb546c7c926c8d713719a4ffd469a25cfda1c918e (diff)
test2036: verify -O with no slash at all in the URL
Similar to test 76 but that test's URL has a slash just no file name part.
Diffstat (limited to 'tests/data/test2036')
-rw-r--r--tests/data/test203639
1 files changed, 39 insertions, 0 deletions
diff --git a/tests/data/test2036 b/tests/data/test2036
new file mode 100644
index 000000000..0ab8b66c5
--- /dev/null
+++ b/tests/data/test2036
@@ -0,0 +1,39 @@
+<testcase>
+<info>
+<keywords>
+FAILURE
+</keywords>
+</info>
+#
+# Server-side
+<reply>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+none
+</server>
+<features>
+http
+</features>
+ <name>
+HTTP, -O with no slash at all in the URL
+ </name>
+ <command option="no-output">
+%HOSTIP:%HTTPPORT -O
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<strip>
+^User-Agent:.*
+</strip>
+<errorcode>
+23
+</errorcode>
+</verify>
+</testcase>