From e06944438a798812caca36de6a95e74cea66c70e Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Sat, 26 Jul 2008 20:09:36 +0000 Subject: Added test 1044 to test large file support in ftp with -I. --- tests/data/Makefile.am | 2 +- tests/data/test1044 | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++ tests/data/test99 | 1 + 3 files changed, 60 insertions(+), 1 deletion(-) create mode 100644 tests/data/test1044 (limited to 'tests/data') diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index 625bc5fd0..b55db6c3a 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -53,7 +53,7 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \ test1024 test1025 test555 test1026 test1027 test1028 test1029 test1030 \ test556 test1031 test628 test629 test630 test631 test632 test1032 \ test1033 test539 test1034 test1035 test1036 test1037 test1038 test1039 \ - test1040 test1041 test1042 test1043 + test1040 test1041 test1042 test1043 test1044 filecheck: @mkdir test-place; \ diff --git a/tests/data/test1044 b/tests/data/test1044 new file mode 100644 index 000000000..a95f5681d --- /dev/null +++ b/tests/data/test1044 @@ -0,0 +1,58 @@ + +# Similar to test141 + + +FTP +NOBODY +Largefile + + + +# Server-side + + + + +9999999999 + + +213 20080726102659 + + + +# Client-side + + +large_file + + +ftp + + +FTP download large file info with -I + + +ftp://%HOSTIP:%FTPPORT/blalbla/1044 -I + + + +# Verify data after the test has been "shot" + + +USER anonymous +PASS ftp@example.com +PWD +CWD blalbla +MDTM 1044 +TYPE I +SIZE 1044 +REST 0 +QUIT + + +Last-Modified: Sat, 26 Jul 2008 10:26:59 GMT +Content-Length: 9999999999 +Accept-ranges: bytes + + + diff --git a/tests/data/test99 b/tests/data/test99 index 8f1240824..2517002f7 100644 --- a/tests/data/test99 +++ b/tests/data/test99 @@ -4,6 +4,7 @@ HTTP HTTP GET Resume +Largefile FAILURE -- cgit v1.2.3