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

45
tests/data/test298 Normal file
View File

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