diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-08-06 23:45:59 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-08-06 23:45:59 +0000 |
commit | bf9a1382762f7235b03e89defabcac986220cb46 (patch) | |
tree | 10c17db54ca0095953e17661a389adcbb84443b7 | |
parent | b3f9c636b9a87a9bfc7d239e0eb254e7df696f78 (diff) |
more tests
-rw-r--r-- | tests/data/Makefile.am | 1 | ||||
-rw-r--r-- | tests/data/test74 | 2 | ||||
-rw-r--r-- | tests/data/test75 | 33 | ||||
-rw-r--r-- | tests/data/test76 | 29 |
4 files changed, 64 insertions, 1 deletions
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 -<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 index 000000000..bbd8cbc40 --- /dev/null +++ b/tests/data/test75 @@ -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 index 000000000..da43e2b06 --- /dev/null +++ b/tests/data/test76 @@ -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> |