mirror of
https://github.com/curl/curl.git
synced 2026-08-26 05:43:31 +03:00
Added test cases 296, 297 and 298 to test --ftp-method handling
This commit is contained in:
parent
f30ae93a1f
commit
66fc5498d2
5 changed files with 144 additions and 1 deletions
48
tests/data/test296
Normal file
48
tests/data/test296
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue