summaryrefslogtreecommitdiff
path: root/tests/data/test511
diff options
context:
space:
mode:
authorKibum Kim <kb0929.kim@samsung.com>2012-01-07 01:10:56 +0900
committerKibum Kim <kb0929.kim@samsung.com>2012-01-07 01:10:56 +0900
commit149930124f8c4cd9e17d046fc98c833b047ae90a (patch)
tree9889f95b35dfb13fa1ce7d444c533a621283305c /tests/data/test511
parent09ba2f53439ad3f6043a6bc6ce0cf2d909bb2de7 (diff)
downloadcurl-149930124f8c4cd9e17d046fc98c833b047ae90a.tar.gz
curl-149930124f8c4cd9e17d046fc98c833b047ae90a.tar.bz2
curl-149930124f8c4cd9e17d046fc98c833b047ae90a.zip
Git init
Diffstat (limited to 'tests/data/test511')
-rw-r--r--tests/data/test51144
1 files changed, 44 insertions, 0 deletions
diff --git a/tests/data/test511 b/tests/data/test511
new file mode 100644
index 0000000..81fe657
--- /dev/null
+++ b/tests/data/test511
@@ -0,0 +1,44 @@
+<testcase>
+#
+# Server-side
+<reply>
+<servercmd>
+REPLY MDTM 550 bluah you f00l!
+REPLY SIZE 550 bluah you f00l!
+</servercmd>
+</reply>
+
+# Client-side
+<client>
+<server>
+ftp
+</server>
+# tool is what to use instead of 'curl'
+<tool>
+lib511
+</tool>
+
+ <name>
+FTP with FILETIME and NOBODY but missing file
+ </name>
+ <command>
+ftp://%HOSTIP:%FTPPORT/511
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+# CURLE_FTP_COULDNT_RETR_FILE
+<errorcode>
+19
+</errorcode>
+<protocol>
+USER anonymous
+PASS ftp@example.com
+PWD
+MDTM 511
+QUIT
+</protocol>
+</verify>
+</testcase>