1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

added test 99, very basic initial large file test

This commit is contained in:
Daniel Stenberg 2004-03-01 16:18:40 +00:00
parent 526c61c657
commit d6eb28400b
2 changed files with 49 additions and 1 deletions

View File

@ -23,7 +23,7 @@ test40 test42 test69 test70 test71 test72 test73 test146 test505 \
test74 test75 test76 test77 test78 test147 test148 test506 test79 test80 \ test74 test75 test76 test77 test78 test147 test148 test506 test79 test80 \
test81 test82 test83 test84 test85 test86 test87 test507 test149 test88 \ test81 test82 test83 test84 test85 test86 test87 test507 test149 test88 \
test89 test90 test508 test91 test92 test203 test93 test94 test95 test509 \ 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 # 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 # work. We need to fix the test suite's FTPS server first, then bring them

48
tests/data/test99 Normal file
View File

@ -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>