1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

Added test 1044 to test large file support in ftp with -I.

This commit is contained in:
Dan Fandrich 2008-07-26 20:09:36 +00:00
parent fa1009b6fc
commit e06944438a
4 changed files with 63 additions and 1 deletions

View File

@ -6,6 +6,9 @@
Changelog Changelog
Daniel Fandrich (26 Jul 2008)
- Added test 1044 to test large file support in ftp with -I.
Daniel Fandrich (23 Jul 2008) Daniel Fandrich (23 Jul 2008)
- Changed the long logfile elision code in runtests.pl to properly handle - Changed the long logfile elision code in runtests.pl to properly handle
lines ending in \r. lines ending in \r.

View File

@ -53,7 +53,7 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \
test1024 test1025 test555 test1026 test1027 test1028 test1029 test1030 \ test1024 test1025 test555 test1026 test1027 test1028 test1029 test1030 \
test556 test1031 test628 test629 test630 test631 test632 test1032 \ test556 test1031 test628 test629 test630 test631 test632 test1032 \
test1033 test539 test1034 test1035 test1036 test1037 test1038 test1039 \ test1033 test539 test1034 test1035 test1036 test1037 test1038 test1039 \
test1040 test1041 test1042 test1043 test1040 test1041 test1042 test1043 test1044
filecheck: filecheck:
@mkdir test-place; \ @mkdir test-place; \

58
tests/data/test1044 Normal file
View File

@ -0,0 +1,58 @@
<testcase>
# Similar to test141
<info>
<keywords>
FTP
NOBODY
Largefile
</keywords>
</info>
# Server-side
<reply>
<data>
</data>
<size>
9999999999
</size>
<mdtm>
213 20080726102659
</mdtm>
</reply>
# Client-side
<client>
<features>
large_file
</features>
<server>
ftp
</server>
<name>
FTP download large file info with -I
</name>
<command>
ftp://%HOSTIP:%FTPPORT/blalbla/1044 -I
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
USER anonymous
PASS ftp@example.com
PWD
CWD blalbla
MDTM 1044
TYPE I
SIZE 1044
REST 0
QUIT
</protocol>
<stdout>
Last-Modified: Sat, 26 Jul 2008 10:26:59 GMT
Content-Length: 9999999999
Accept-ranges: bytes
</stdout>
</verify>
</testcase>

View File

@ -4,6 +4,7 @@
HTTP HTTP
HTTP GET HTTP GET
Resume Resume
Largefile
FAILURE FAILURE
</keywords> </keywords>
</info> </info>