aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test295
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/test295')
-rw-r--r--tests/data/test29545
1 files changed, 45 insertions, 0 deletions
diff --git a/tests/data/test295 b/tests/data/test295
new file mode 100644
index 000000000..5b1ddcf6b
--- /dev/null
+++ b/tests/data/test295
@@ -0,0 +1,45 @@
+<testcase>
+<info>
+<keywords>
+FTP
+PASV
+LIST
+ACCT
+FAILURE
+</keywords>
+</info>
+#
+# Server-side
+<reply>
+<servercmd>
+REPLY PASS 332 Give me an ACCT now
+REPLY PWD 530 No ACCT, go away
+</servercmd>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+ftp
+</server>
+ <name>
+FTP ACCT request without --ftp-account
+ </name>
+ <command>
+ftp://%HOSTIP:%FTPPORT/295/
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<errorcode>
+67
+</errorcode>
+<protocol>
+USER anonymous
+PASS ftp@example.com
+</protocol>
+</verify>
+</testcase>