aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-10-05 06:23:45 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-10-05 06:23:45 +0000
commit68917eb517a0dd7179310a33f8b11919a80c7219 (patch)
tree7045dd3370f3a470f7ed513fdf26f51a2877ab72 /tests/data
parent3beb2f6b5d3307bdc044aa91a35748c44ec7c26a (diff)
added test case 272 for -z download over FTP when the timestamp is identical
to the remote one
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/Makefile.am2
-rw-r--r--tests/data/test27238
2 files changed, 39 insertions, 1 deletions
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
index b2b85e67a..ad13b139b 100644
--- a/tests/data/Makefile.am
+++ b/tests/data/Makefile.am
@@ -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
index 000000000..e8cac9219
--- /dev/null
+++ b/tests/data/test272
@@ -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
+PASS curl_by_daniel@haxx.se
+PWD
+MDTM 272
+QUIT
+</protocol>
+</verify>