]> granicus.if.org Git - curl/commitdiff
Added test 1044 to test large file support in ftp with -I.
authorDan Fandrich <dan@coneharvesters.com>
Sat, 26 Jul 2008 20:09:36 +0000 (20:09 +0000)
committerDan Fandrich <dan@coneharvesters.com>
Sat, 26 Jul 2008 20:09:36 +0000 (20:09 +0000)
CHANGES
tests/data/Makefile.am
tests/data/test1044 [new file with mode: 0644]
tests/data/test99

diff --git a/CHANGES b/CHANGES
index dc4e23fea9f99e4c7dd05b2fe8ef027e6bd7efcb..c4e107f24daaa13ce5ad43329996df9ee1925dd3 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,9 @@
 
                                   Changelog
 
+Daniel Fandrich (26 Jul 2008)
+- Added test 1044 to test large file support in ftp with -I.
+
 Daniel Fandrich (23 Jul 2008)
 - Changed the long logfile elision code in runtests.pl to properly handle
   lines ending in \r.
index 625bc5fd0d2e4cabfde11bee2b4223eb446c2abd..b55db6c3a81c5d5c92dfc79adaec2129ca2256a9 100644 (file)
@@ -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 (file)
index 0000000..a95f568
--- /dev/null
@@ -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\r
+PASS ftp@example.com\r
+PWD\r
+CWD blalbla\r
+MDTM 1044\r
+TYPE I\r
+SIZE 1044\r
+REST 0\r
+QUIT\r
+</protocol>
+<stdout>
+Last-Modified: Sat, 26 Jul 2008 10:26:59 GMT\r
+Content-Length: 9999999999\r
+Accept-ranges: bytes\r
+</stdout>
+</verify>
+</testcase>
index 8f1240824fbe3f64442c2084f6207bf1541a1536..2517002f7b00e6c5a7a13f6842703365ad2383c1 100644 (file)
@@ -4,6 +4,7 @@
 HTTP
 HTTP GET
 Resume
+Largefile
 FAILURE
 </keywords>
 </info>