Added test cases 296, 297 and 298 to test --ftp-method handling
This commit is contained in:
Родитель
f30ae93a1f
Коммит
66fc5498d2
3
CHANGES
3
CHANGES
|
@ -6,6 +6,9 @@
|
|||
|
||||
Changelog
|
||||
|
||||
Dan F (17 April 2007)
|
||||
- Added test cases 296, 297 and 298 to test --ftp-method handling
|
||||
|
||||
Daniel S (16 April 2007)
|
||||
- Robert Iakobashvil added curl_multi_socket_action() to libcurl, which is a
|
||||
function that deprecates the curl_multi_socket() function. Using the new
|
||||
|
|
|
@ -39,4 +39,5 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \
|
|||
test534 test535 test281 test537 test282 test283 test284 test538 test285 \
|
||||
test286 test307 test308 test287 test400 test288 test600 test601 test602 \
|
||||
test603 test401 test402 test290 test291 test292 test293 test403 test404 \
|
||||
test405 test604 test605 test606 test607 test608 test609 test294 test295
|
||||
test405 test604 test605 test606 test607 test608 test609 test294 test295 \
|
||||
test296 test297 test298
|
||||
|
|
|
@ -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>
|
|
@ -0,0 +1,46 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
PASV
|
||||
CWD
|
||||
--ftp-method
|
||||
singlecwd
|
||||
</keywords>
|
||||
</info>
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
bla bla bla
|
||||
</data>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
<client>
|
||||
<server>
|
||||
ftp
|
||||
</server>
|
||||
<name>
|
||||
FTP CWD with --ftp-method singlecwd
|
||||
</name>
|
||||
<command>
|
||||
--ftp-method singlecwd ftp://%HOSTIP:%FTPPORT/first/second/third/297
|
||||
</command>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<protocol>
|
||||
USER anonymous
|
||||
PASS ftp@example.com
|
||||
PWD
|
||||
CWD first/second/third
|
||||
EPSV
|
||||
TYPE I
|
||||
SIZE 297
|
||||
RETR 297
|
||||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
|
@ -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>
|
Загрузка…
Ссылка в новой задаче