summaryrefslogtreecommitdiff
path: root/tests/data/test511
diff options
context:
space:
mode:
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 000000000..81fe657f9
--- /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>