Added test cases 296, 297 and 298 to test --ftp-method handling

This commit is contained in:
Dan Fandrich
2007-04-18 06:30:28 +00:00
parent f30ae93a1f
commit 66fc5498d2
5 changed files with 144 additions and 1 deletions

48
tests/data/test296 Normal file
View File

@@ -0,0 +1,48 @@
<testcase>
<info>
<keywords>
FTP
PASV
CWD
--ftp-method
multicwd
</keywords>
</info>
#
# Server-side
<reply>
<data>
bla bla bla
</data>
</reply>
# Client-side
<client>
<server>
ftp
</server>
<name>
FTP CWD with --ftp-method multicwd
</name>
<command>
--ftp-method multicwd ftp://%HOSTIP:%FTPPORT/first/second/third/296
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
USER anonymous
PASS ftp@example.com
PWD
CWD first
CWD second
CWD third
EPSV
TYPE I
SIZE 296
RETR 296
QUIT
</protocol>
</verify>
</testcase>