summaryrefslogtreecommitdiff
path: root/tests/data/test538
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/test538')
-rw-r--r--tests/data/test53846
1 files changed, 46 insertions, 0 deletions
diff --git a/tests/data/test538 b/tests/data/test538
new file mode 100644
index 000000000..f33b2a654
--- /dev/null
+++ b/tests/data/test538
@@ -0,0 +1,46 @@
+<testcase>
+<info>
+<keywords>
+FTP
+FAILURE
+multi
+</keywords>
+</info>
+
+# Server-side
+<reply>
+<servercmd>
+REPLY PASS 314 bluah you f00l!
+</servercmd>
+</reply>
+
+# Client-side
+<client>
+<server>
+ftp
+</server>
+# NOTE that we use the 504 tool for this case
+<tool>
+lib504
+</tool>
+ <name>
+FTP multi-interface download, failed login: PASS not valid
+ </name>
+ <command>
+ftp://%HOSTIP:%FTPPORT/538
+</command>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+# ok, the error code here is supposed to be 100 for the fine case since
+# that's just how lib504.c is written
+<errorcode>
+100
+</errorcode>
+<protocol>
+USER anonymous
+PASS ftp@example.com
+</protocol>
+</verify>
+</testcase>