From d6eb28400baa2cf1522bdc1c3566fb89ae3b3f69 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg <daniel@haxx.se> Date: Mon, 1 Mar 2004 16:18:40 +0000 Subject: [PATCH] added test 99, very basic initial large file test --- tests/data/Makefile.am | 2 +- tests/data/test99 | 48 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 tests/data/test99 diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index 2c034ad2e0..8f9f0cb9ca 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -23,7 +23,7 @@ test40 test42 test69 test70 test71 test72 test73 test146 test505 \ test74 test75 test76 test77 test78 test147 test148 test506 test79 test80 \ test81 test82 test83 test84 test85 test86 test87 test507 test149 test88 \ test89 test90 test508 test91 test92 test203 test93 test94 test95 test509 \ -test510 test97 test98 +test510 test97 test98 test99 # The following tests have been removed from the dist since they no longer # work. We need to fix the test suite's FTPS server first, then bring them diff --git a/tests/data/test99 b/tests/data/test99 new file mode 100644 index 0000000000..379e5a58ab --- /dev/null +++ b/tests/data/test99 @@ -0,0 +1,48 @@ +# +# Server-side +<reply> +<data> +HTTP/1.1 404 Nah +Date: Thu, 09 Nov 2010 14:49:00 GMT +Connection: close +Content-Length: 13 +Funny-head: yesyes + +</data> +</reply> + +# +# Client-side +<client> +<features> +large_file +</features> +<server> +http +</server> + <name> +HTTP GET with large-file resume point and failed resume + </name> + <command> +http://%HOSTIP:%HOSTPORT/99 -C 9999999999 +</command> +</client> + +# +# Verify data after the test has been "shot" +<verify> +<errorcode> +33 +</errorcode> +<strip> +^User-Agent:.* +</strip> +<protocol> +GET /99 HTTP/1.1 +Range: bytes=9999999999- +Host: 127.0.0.1:8999 +Pragma: no-cache +Accept: */* + +</protocol> +</verify>