From bf9a1382762f7235b03e89defabcac986220cb46 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 6 Aug 2003 23:45:59 +0000 Subject: more tests --- tests/data/Makefile.am | 1 + tests/data/test74 | 2 +- tests/data/test75 | 33 +++++++++++++++++++++++++++++++++ tests/data/test76 | 29 +++++++++++++++++++++++++++++ 4 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 tests/data/test75 create mode 100644 tests/data/test76 (limited to 'tests/data') diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index 3a292d832..4cd7de349 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -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 diff --git a/tests/data/test74 b/tests/data/test74 index d1e463c71..2b20d5a84 100644 --- a/tests/data/test74 +++ b/tests/data/test74 @@ -1,6 +1,6 @@ # # Server-side - + 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 index 000000000..bbd8cbc40 --- /dev/null +++ b/tests/data/test75 @@ -0,0 +1,33 @@ +# +# Server-side + + + +# +# Client-side + + +none + + +HTTP, urlglob retrieval with bad range + + +"http://%HOSTIP:%HOSTPORT/[1-1]" -o "log/weee#1.dump" --stderr - + + + +# +# Verify data after the test has been "shot" + + +^User-Agent:.* + + +3 + + +curl: (3) [globbing] error: illegal pattern or range specification after pos 24 + + + diff --git a/tests/data/test76 b/tests/data/test76 new file mode 100644 index 000000000..da43e2b06 --- /dev/null +++ b/tests/data/test76 @@ -0,0 +1,29 @@ +# +# Server-side + + + +# +# Client-side + + +none + + +HTTP, -O with no file name part in the URL + + +http://%HOSTIP:%HOSTPORT/76/ -O + + + +# +# Verify data after the test has been "shot" + + +^User-Agent:.* + + +23 + + -- cgit v1.2.3