added test case 272 for -z download over FTP when the timestamp is identical

to the remote one
This commit is contained in:
Daniel Stenberg 2005-10-05 06:23:45 +00:00
parent 3beb2f6b5d
commit 68917eb517
2 changed files with 39 additions and 1 deletions

View 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

38
tests/data/test272 Normal file
View File

@ -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>