more tests
authorDaniel Stenberg <daniel@haxx.se>
Wed, 6 Aug 2003 23:45:59 +0000 (23:45 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 6 Aug 2003 23:45:59 +0000 (23:45 +0000)
tests/data/Makefile.am
tests/data/test74
tests/data/test75 [new file with mode: 0644]
tests/data/test76 [new file with mode: 0644]

index 3a292d8326bbc63c3d9a7b3b9b7c2fc5abe4095c..4cd7de3491ff2a8852edec01a77de69345809e61 100644 (file)
@@ -22,3 +22,4 @@ test500 test501 test502 test503 test504 test136 test57 test137 test138 \
 test58 test139 test140 test141 test59 test60 test61 test142 test143 test62 \
 test63 test64 test65 test66 test144 test145 test67 test68 test41 \
 test40 test42 test69 test70 test71 test72 test73 test146 test505
+test74 test75 test76
index d1e463c7134950009048559526003da13d7dfb93..2b20d5a845fc0fcfb7111e91ff596798f175f534 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Server-side
-<reply name="1">
+<reply>
 <data nocheck=1>
 HTTP/1.1 200 OK
 Date: Thu, 09 Nov 2010 14:49:00 GMT
diff --git a/tests/data/test75 b/tests/data/test75
new file mode 100644 (file)
index 0000000..bbd8cbc
--- /dev/null
@@ -0,0 +1,33 @@
+#
+# Server-side
+<reply>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+none
+</server>
+ <name>
+HTTP, urlglob retrieval with bad range
+ </name>
+ <command option=no-output>
+"http://%HOSTIP:%HOSTPORT/[1-1]" -o "log/weee#1.dump" --stderr -
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<strip>
+^User-Agent:.*
+</strip>
+<errorcode>
+3
+</errorcode>
+<stdout>
+curl: (3) [globbing] error: illegal pattern or range specification after pos 24
+
+</stdout>
+</verify>
diff --git a/tests/data/test76 b/tests/data/test76
new file mode 100644 (file)
index 0000000..da43e2b
--- /dev/null
@@ -0,0 +1,29 @@
+#
+# Server-side
+<reply>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+none
+</server>
+ <name>
+HTTP, -O with no file name part in the URL
+ </name>
+ <command option=no-output>
+http://%HOSTIP:%HOSTPORT/76/ -O
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<strip>
+^User-Agent:.*
+</strip>
+<errorcode>
+23
+</errorcode>
+</verify>