added test case 272 for -z download over FTP when the timestamp is identical
authorDaniel Stenberg <daniel@haxx.se>
Wed, 5 Oct 2005 06:23:45 +0000 (06:23 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 5 Oct 2005 06:23:45 +0000 (06:23 +0000)
to the remote one

tests/data/Makefile.am
tests/data/test272 [new file with mode: 0644]

index b2b85e67a3060f98c2e3f9e8da14ac176a42b606..ad13b139b4615895c430854d2aa7dc8099fd9f98 100644 (file)
@@ -33,4 +33,4 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46           \
  test237 test238 test239 test243 test245 test246 test247 test248 test249   \
  test250 test251 test252 test253 test254 test255 test521 test522 test523   \
  test256 test257 test258 test259 test260 test261 test262 test263 test264   \
- test265 test266 test267 test268 test269 test270 test271
+ test265 test266 test267 test268 test269 test270 test271 test272
diff --git a/tests/data/test272 b/tests/data/test272
new file mode 100644 (file)
index 0000000..e8cac92
--- /dev/null
@@ -0,0 +1,38 @@
+<info>
+<keywords>
+FTP
+PASV
+RETR
+</keywords>
+</info>
+# Server-side
+<reply>
+<mdtm>
+213 20040101121212
+</mdtm>
+</reply>
+
+# Client-side
+<client>
+<server>
+ftp
+</server>
+ <name>
+FTP timed conditioned get file with identical time stamp 
+ </name>
+ <command>
+ftp://%HOSTIP:%FTPPORT/272 -z "2004 jan 1 12:12:12 UTC"
+</command>
+
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+USER anonymous\r
+PASS curl_by_daniel@haxx.se\r
+PWD\r
+MDTM 272\r
+QUIT\r
+</protocol>
+</verify>