Added test cases 294 and 295 to test --ftp-account handling

This commit is contained in:
Dan Fandrich
2007-04-13 20:59:15 +00:00
parent 8d2a0fe85b
commit 71a0d50f48
4 changed files with 115 additions and 1 deletions

45
tests/data/test295 Normal file
View File

@@ -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>