summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl-7.19.0/tests/data/test75
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmcurl-7.19.0/tests/data/test75')
-rw-r--r--Utilities/cmcurl-7.19.0/tests/data/test7550
1 files changed, 50 insertions, 0 deletions
diff --git a/Utilities/cmcurl-7.19.0/tests/data/test75 b/Utilities/cmcurl-7.19.0/tests/data/test75
new file mode 100644
index 0000000..63695f5
--- /dev/null
+++ b/Utilities/cmcurl-7.19.0/tests/data/test75
@@ -0,0 +1,50 @@
+<testcase>
+<info>
+<keywords>
+HTTP
+HTTP GET
+FAILURE
+</keywords>
+</info>
+#
+# Server-side
+<reply>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+none
+</server>
+<features>
+http
+</features>
+ <name>
+HTTP, urlglob retrieval with bad range
+ </name>
+ <command option="no-output">
+"http://%HOSTIP:%HTTPPORT/[2-1]" -o "log/weee#1.dump" --stderr -
+</command>
+# The error message on stdout implicitly depends on the length of the
+# URL, so refuse to run if the length is unexpected.
+<precheck>
+perl %SRCDIR/libtest/test75.pl http://%HOSTIP:%HTTPPORT/ 22
+</precheck>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<strip>
+^User-Agent:.*
+</strip>
+<errorcode>
+3
+</errorcode>
+<stdout mode="text">
+curl: (3) [globbing] error: bad range specification after pos 24
+
+</stdout>
+</verify>
+</testcase>