From: Daniel Stenberg Date: Mon, 1 Mar 2004 16:18:40 +0000 (+0000) Subject: added test 99, very basic initial large file test X-Git-Tag: curl-7_11_1~166 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6eb28400baa2cf1522bdc1c3566fb89ae3b3f69;p=thirdparty%2Fcurl.git added test 99, very basic initial large file test --- 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 + + +HTTP/1.1 404 Nah +Date: Thu, 09 Nov 2010 14:49:00 GMT +Connection: close +Content-Length: 13 +Funny-head: yesyes + + + + +# +# Client-side + + +large_file + + +http + + +HTTP GET with large-file resume point and failed resume + + +http://%HOSTIP:%HOSTPORT/99 -C 9999999999 + + + +# +# Verify data after the test has been "shot" + + +33 + + +^User-Agent:.* + + +GET /99 HTTP/1.1 +Range: bytes=9999999999- +Host: 127.0.0.1:8999 +Pragma: no-cache +Accept: */* + + +