aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test295
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-04-13 20:59:15 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-04-13 20:59:15 +0000
commit71a0d50f48ea6b03cbd76c776f5ffbc0bb0ba30b (patch)
tree20fe1922c2947577ffdee5f0a98c4f10c6c205b9 /tests/data/test295
parent8d2a0fe85baecdf5e3dbe3a03a509972908e44c1 (diff)
Added test cases 294 and 295 to test --ftp-account handling
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>