mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
Various test file cleanups, including using <servercmd> instead of writing
directly to ftpserver.cmd and removing unneeded empty sections.
This commit is contained in:
parent
c234b9d04b
commit
ae3d5949b8
@ -43,9 +43,6 @@ ftp://%HOSTIP:%FTPPORT/
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strip>
|
||||
filter off really nothing
|
||||
</strip>
|
||||
<protocol>
|
||||
USER anonymous
|
||||
PASS ftp@example.com
|
||||
|
@ -16,6 +16,9 @@ that FTP
|
||||
works
|
||||
so does it?
|
||||
</data>
|
||||
<servercmd>
|
||||
REPLY EPSV 500 no such command
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
@ -30,9 +33,6 @@ FTP RETR PASV
|
||||
ftp://%HOSTIP:%FTPPORT/102
|
||||
</command>
|
||||
|
||||
<file name="log/ftpserver.cmd">
|
||||
REPLY EPSV 500 no such command
|
||||
</file>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -17,6 +17,10 @@ that FTP
|
||||
works
|
||||
so does it?
|
||||
</data>
|
||||
<servercmd>
|
||||
REPLY EPSV 500 no such command
|
||||
REPLY SIZE 500 no such command
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
@ -30,10 +34,6 @@ FTP user+password in URL and ASCII transfer
|
||||
<command>
|
||||
ftp://userdude:passfellow@%HOSTIP:%FTPPORT/103 --use-ascii
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
REPLY EPSV 500 no such command
|
||||
REPLY SIZE 500 no such command
|
||||
</file>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -31,8 +31,6 @@ Moooooooooooo
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strip>
|
||||
</strip>
|
||||
<protocol>
|
||||
USER anonymous
|
||||
PASS ftp@example.com
|
||||
|
@ -16,6 +16,9 @@ but we emulate that
|
||||
<size>
|
||||
85
|
||||
</size>
|
||||
<servercmd>
|
||||
REPLY EPSV 500 no such command
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
@ -29,15 +32,10 @@ FTP download resume with set limit
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/110 -C 20
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
REPLY EPSV 500 no such command
|
||||
</file>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strip>
|
||||
</strip>
|
||||
<protocol>
|
||||
USER anonymous
|
||||
PASS ftp@example.com
|
||||
|
@ -32,8 +32,6 @@ ftp://%HOSTIP:%FTPPORT/111 -C 2000
|
||||
<errorcode>
|
||||
36
|
||||
</errorcode>
|
||||
<strip>
|
||||
</strip>
|
||||
<protocol>
|
||||
USER anonymous
|
||||
PASS ftp@example.com
|
||||
|
@ -31,8 +31,6 @@ worx?
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strip>
|
||||
</strip>
|
||||
<protocol>
|
||||
USER anonymous
|
||||
PASS ftp@example.com
|
||||
|
@ -7,6 +7,9 @@ FAILURE
|
||||
</info>
|
||||
# Server-side
|
||||
<reply>
|
||||
<servercmd>
|
||||
REPLY USER 314 bluah you fewl!
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
@ -20,9 +23,6 @@ FTP download, failed login: USER not valid
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/113
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
REPLY USER 314 bluah you fewl!
|
||||
</file>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -7,6 +7,9 @@ FAILURE
|
||||
</info>
|
||||
# Server-side
|
||||
<reply>
|
||||
<servercmd>
|
||||
REPLY PASS 314 bluah you f00l!
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
@ -20,9 +23,6 @@ FTP download, failed login: PASS not valid
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/114
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
REPLY PASS 314 bluah you f00l!
|
||||
</file>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -8,6 +8,10 @@ FAILURE
|
||||
</info>
|
||||
# Server-side
|
||||
<reply>
|
||||
<servercmd>
|
||||
REPLY PASV 314 bluah you f00l!
|
||||
REPLY EPSV 314 bluah you f00l!
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
@ -21,10 +25,6 @@ FTP download, failed PASV
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/115
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
REPLY PASV 314 bluah you f00l!
|
||||
REPLY EPSV 314 bluah you f00l!
|
||||
</file>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -8,6 +8,9 @@ FAILURE
|
||||
</info>
|
||||
# Server-side
|
||||
<reply>
|
||||
<servercmd>
|
||||
REPLY PORT 314 bluah you f00l!
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
@ -21,9 +24,6 @@ FTP download, failed PORT
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/116 -P 127.0.0.1
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
REPLY PORT 314 bluah you f00l!
|
||||
</file>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -7,6 +7,10 @@ FAILURE
|
||||
</info>
|
||||
# Server-side
|
||||
<reply>
|
||||
<servercmd>
|
||||
REPLY EPSV 314 bluah you f00l!
|
||||
REPLY TYPE 314 bluah you f00l!
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
@ -20,10 +24,6 @@ FTP download, failed TYPE
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/117
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
REPLY EPSV 314 bluah you f00l!
|
||||
REPLY TYPE 314 bluah you f00l!
|
||||
</file>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -9,6 +9,10 @@ FAILURE
|
||||
</info>
|
||||
# Server-side
|
||||
<reply>
|
||||
<servercmd>
|
||||
REPLY RETR 314 bluah you f00l!
|
||||
REPLY EPSV 314 bluah you f00l!
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
@ -22,10 +26,6 @@ FTP download, failed RETR
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/118
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
REPLY RETR 314 bluah you f00l!
|
||||
REPLY EPSV 314 bluah you f00l!
|
||||
</file>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -9,6 +9,9 @@ FAILURE
|
||||
</info>
|
||||
# Server-side
|
||||
<reply>
|
||||
<servercmd>
|
||||
REPLY RETR 314 bluah you f00l!
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
@ -22,9 +25,6 @@ FTP download, failed RETR with PORT
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/119 -P -
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
REPLY RETR 314 bluah you f00l!
|
||||
</file>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -17,6 +17,9 @@ that FTP
|
||||
works
|
||||
so does it?
|
||||
</data>
|
||||
<servercmd>
|
||||
REPLY EPSV 314 bluah you f00l!
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
@ -30,9 +33,6 @@ ftp download with post-quote delete operation
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/120 -Q "-DELE file"
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
REPLY EPSV 314 bluah you f00l!
|
||||
</file>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -11,6 +11,9 @@ Resume
|
||||
<size>
|
||||
5
|
||||
</size>
|
||||
<servercmd>
|
||||
REPLY EPSV 500 no such command
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
@ -24,9 +27,6 @@ FTP download resume with whole file already downloaded
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/122 -C 5
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
REPLY EPSV 500 no such command
|
||||
</file>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -11,6 +11,10 @@ RETR
|
||||
<data>
|
||||
we can still send data even if pwd fails!
|
||||
</data>
|
||||
<servercmd>
|
||||
REPLY PWD 314 bluah you f00l!
|
||||
REPLY EPSV 314 bluah you f00l!
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
@ -24,10 +28,6 @@ FTP download, failed PWD
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/124
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
REPLY PWD 314 bluah you f00l!
|
||||
REPLY EPSV 314 bluah you f00l!
|
||||
</file>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -7,6 +7,9 @@ FAILURE
|
||||
</info>
|
||||
# Server-side
|
||||
<reply>
|
||||
<servercmd>
|
||||
REPLY CWD 314 bluah you f00l!
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
@ -20,9 +23,6 @@ FTP download, failed CWD
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/path/to/file/125
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
REPLY CWD 314 bluah you f00l!
|
||||
</file>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -12,6 +12,9 @@ RETRWEIRDO
|
||||
<data>
|
||||
this is file contents
|
||||
</data>
|
||||
<servercmd>
|
||||
RETRWEIRDO
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
@ -25,9 +28,6 @@ FTP download with multiple replies at once in RETR
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/blalbla/lululul/126
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
RETRWEIRDO
|
||||
</file>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -52,9 +52,6 @@ machine %HOSTIP login user2 password passwd2
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strip>
|
||||
filter off really nothing
|
||||
</strip>
|
||||
<protocol>
|
||||
USER user1
|
||||
PASS passwd1
|
||||
|
@ -53,9 +53,6 @@ machine %HOSTIP login user2 password passwd2
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strip>
|
||||
filter off really nothing
|
||||
</strip>
|
||||
<protocol>
|
||||
USER user2
|
||||
PASS passwd2
|
||||
|
@ -52,9 +52,6 @@ machine %HOSTIP login user2 password passwd2
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strip>
|
||||
filter off really nothing
|
||||
</strip>
|
||||
<protocol>
|
||||
USER mary
|
||||
PASS mark
|
||||
|
@ -52,9 +52,6 @@ machine %HOSTIP login user2 password passwd2
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strip>
|
||||
filter off really nothing
|
||||
</strip>
|
||||
<protocol>
|
||||
USER user1
|
||||
PASS passwd1
|
||||
|
@ -52,9 +52,6 @@ machine %HOSTIP login user2 password passwd2
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strip>
|
||||
filter off really nothing
|
||||
</strip>
|
||||
<protocol>
|
||||
USER romulus
|
||||
PASS rhemus
|
||||
|
@ -4,6 +4,9 @@
|
||||
<data>
|
||||
this is file contents
|
||||
</data>
|
||||
<servercmd>
|
||||
RETRNOSIZE
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
@ -17,9 +20,6 @@ FTP download without size in RETR string
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/blalbla/lululul/137
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
RETRNOSIZE
|
||||
</file>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -7,6 +7,9 @@ this is file contents
|
||||
<size>
|
||||
-1
|
||||
</size>
|
||||
<servercmd>
|
||||
RETRNOSIZE
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
@ -20,9 +23,6 @@ FTP download without size in RETR string and no SIZE command
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/blalbla/lululul/138
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
RETRNOSIZE
|
||||
</file>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -3,6 +3,9 @@
|
||||
<reply>
|
||||
<data>
|
||||
</data>
|
||||
<servercmd>
|
||||
REPLY NLST 450 No files found
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
@ -16,9 +19,6 @@ FTP NLST dir list without contents, using PORT
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/ -P - -l
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
REPLY NLST 450 No files found
|
||||
</file>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -1,6 +1,9 @@
|
||||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<servercmd>
|
||||
REPLY NLST 550 Have a taste on this!
|
||||
</servercmd>
|
||||
<data>
|
||||
</data>
|
||||
</reply>
|
||||
@ -16,9 +19,6 @@ FTP NLST dir list with weird reply code, using PORT
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/ -P - -l
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
REPLY NLST 550 Have a taste on this!
|
||||
</file>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -4,6 +4,10 @@
|
||||
<data>
|
||||
foo
|
||||
</data>
|
||||
<servercmd>
|
||||
REPLY CWD 550 I won't allow this on my server
|
||||
COUNT CWD 1
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
@ -17,10 +21,6 @@ FTP with --ftp-create-dirs (failing CWD)
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/first/dir/here/147 --ftp-create-dirs
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
REPLY CWD 550 I won't allow this on my server
|
||||
COUNT CWD 1
|
||||
</file>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -1,6 +1,10 @@
|
||||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<servercmd>
|
||||
REPLY CWD 550 I won't allow this on my server
|
||||
REPLY MKD 550 We will have no such thing
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
@ -14,10 +18,6 @@ FTP with --ftp-create-dirs (failing MKD)
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/attempt/to/get/this/148 --ftp-create-dirs
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
REPLY CWD 550 I won't allow this on my server
|
||||
REPLY MKD 550 We will have no such thing
|
||||
</file>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -1,7 +1,9 @@
|
||||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
moooooooo
|
||||
<servercmd>
|
||||
DELAY CWD 60
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
@ -18,9 +20,6 @@ FTP download with strict timeout and slow CWD
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/path/to/file/190 -m %FTPTIME2
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
DELAY CWD 60
|
||||
</file>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -1,6 +1,9 @@
|
||||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<servercmd>
|
||||
REPLY PASS 530 temporarily not available
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
@ -14,9 +17,6 @@ FTP response 530 after PASS, temporarily not allowed access
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/195
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
REPLY PASS 530 temporarily not available
|
||||
</file>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -1,6 +1,9 @@
|
||||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<servercmd>
|
||||
REPLY PASS 530 temporarily not available
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
@ -14,9 +17,6 @@ FTP transient error, retry request once
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/196 --retry 1
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
REPLY PASS 530 temporarily not available
|
||||
</file>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -4,6 +4,9 @@
|
||||
<data>
|
||||
data blobb
|
||||
</data>
|
||||
<servercmd>
|
||||
REPLY EPSV 500 no such command
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
@ -17,9 +20,6 @@ Get two FTP files with no remote EPSV support
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/a/path/211 ftp://%HOSTIP:%FTPPORT/a/path/211
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
REPLY EPSV 500 no such command
|
||||
</file>
|
||||
<stdout>
|
||||
data blobb
|
||||
data blobb
|
||||
|
@ -4,6 +4,9 @@
|
||||
<data>
|
||||
data blobb
|
||||
</data>
|
||||
<servercmd>
|
||||
REPLY EPRT 500 no such command
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
@ -20,9 +23,6 @@ Get two FTP files with no remote EPRT support
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/a/path/212 ftp://%HOSTIP:%FTPPORT/a/path/212 -P -
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
REPLY EPRT 500 no such command
|
||||
</file>
|
||||
<stdout>
|
||||
data blobb
|
||||
data blobb
|
||||
|
@ -18,6 +18,9 @@ that FTP
|
||||
works
|
||||
so does it?
|
||||
</data>
|
||||
<servercmd>
|
||||
REPLY EPSV 500 no such command
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
@ -31,9 +34,6 @@ FTP with quote ops
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/227 -Q "NOOP 1" -Q "+NOOP 2" -Q "-NOOP 3"
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
REPLY EPSV 500 no such command
|
||||
</file>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -16,6 +16,10 @@ that FTP
|
||||
works
|
||||
so does it?
|
||||
</data>
|
||||
<servercmd>
|
||||
REPLY PASS 332 please provide account name
|
||||
REPLY ACCT 230 thank you
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
@ -29,10 +33,6 @@ FTP RETR with ACCT
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/228 --ftp-account "one count"
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
REPLY PASS 332 please provide account name
|
||||
REPLY ACCT 230 thank you
|
||||
</file>
|
||||
</client>
|
||||
|
||||
|
||||
|
@ -9,6 +9,10 @@ compressed
|
||||
</info>
|
||||
# Server-side
|
||||
<reply>
|
||||
<servercmd>
|
||||
REPLY PASS 332 please provide account name
|
||||
REPLY ACCT 532 bluah!
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
@ -22,10 +26,6 @@ FTP RETR with bad ACCT
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/229 --ftp-account "one count"
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
REPLY PASS 332 please provide account name
|
||||
REPLY ACCT 532 bluah!
|
||||
</file>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -23,8 +23,6 @@ worx?
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strip>
|
||||
</strip>
|
||||
<protocol>
|
||||
USER anonymous
|
||||
PASS ftp@example.com
|
||||
|
@ -1,4 +1,14 @@
|
||||
<testcase>
|
||||
|
||||
# Server-side
|
||||
<reply>
|
||||
<servercmd>
|
||||
REPLY SIZE 550 access to this file is very much denied
|
||||
REPLY APPE 550 I said: access to this file is very much denied
|
||||
REPLY STOR 550 I said: access to this file is very much denied
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
<client>
|
||||
<server>
|
||||
@ -8,12 +18,10 @@ ftp
|
||||
FTP resume upload but denied access to remote file
|
||||
</name>
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/236 -T log/ftpserver.cmd -C -
|
||||
ftp://%HOSTIP:%FTPPORT/236 -T log/file236.txt -C -
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
REPLY SIZE 550 access to this file is very much denied
|
||||
REPLY APPE 550 I said: access to this file is very much denied
|
||||
REPLY STOR 550 I said: access to this file is very much denied
|
||||
<file name="log/file236.txt">
|
||||
Test data
|
||||
</file>
|
||||
</client>
|
||||
|
||||
|
@ -1,6 +1,9 @@
|
||||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<servercmd>
|
||||
REPLY PASV 227 Entering Passiv Mode (1216,256,2,127,127,127)
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
@ -14,9 +17,6 @@ FTP getting bad host in 227-response to PASV
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/237 --disable-epsv
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
REPLY PASV 227 Entering Passiv Mode (1216,256,2,127,127,127)
|
||||
</file>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -1,6 +1,10 @@
|
||||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<servercmd>
|
||||
REPLY EPSV 229 Entering Passiv Mode (|||1000000|)
|
||||
REPLY PASV 227 Entering Passiv Mode (1216,256,2,127,127,127)
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
@ -14,10 +18,6 @@ FTP getting bad port in response to EPSV and in response to PASV
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/238
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
REPLY EPSV 229 Entering Passiv Mode (|||1000000|)
|
||||
REPLY PASV 227 Entering Passiv Mode (1216,256,2,127,127,127)
|
||||
</file>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
@ -39,9 +39,6 @@ ftp://%HOSTIP:%FTPPORT/
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strip>
|
||||
filter off really nothing
|
||||
</strip>
|
||||
<protocol>
|
||||
USER anonymous
|
||||
PASS ftp@example.com
|
||||
|
@ -45,9 +45,6 @@ FTP IPv6 dir list PASV
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strip>
|
||||
filter off really nothing
|
||||
</strip>
|
||||
<protocol>
|
||||
USER anonymous
|
||||
PASS ftp@example.com
|
||||
|
@ -46,9 +46,6 @@ FTP IPv6 dir list PASV and --disable-epsv
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strip>
|
||||
filter off really nothing
|
||||
</strip>
|
||||
<protocol>
|
||||
USER anonymous
|
||||
PASS ftp@example.com
|
||||
|
@ -34,9 +34,6 @@ ftp://%HOSTIP:%FTPPORT/261
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strip>
|
||||
filter off really nothing
|
||||
</strip>
|
||||
<protocol>
|
||||
USER anonymous
|
||||
PASS ftp@example.com
|
||||
|
@ -48,9 +48,6 @@ ftp://%HOSTIP:%FTPPORT/280/ --ftp-alternative-to-user "USER replacement"
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strip>
|
||||
filter off really nothing
|
||||
</strip>
|
||||
<protocol>
|
||||
USER anonymous
|
||||
USER replacement
|
||||
|
@ -30,8 +30,6 @@ ftp://%HOSTIP:%FTPPORT/290 --max-filesize 30
|
||||
<errorcode>
|
||||
63
|
||||
</errorcode>
|
||||
<strip>
|
||||
</strip>
|
||||
<protocol>
|
||||
USER anonymous
|
||||
PASS ftp@example.com
|
||||
|
@ -1,11 +1,4 @@
|
||||
<testcase>
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
MOOOOO
|
||||
</reply>
|
||||
|
||||
#
|
||||
# Client-side
|
||||
<client>
|
||||
<features>
|
||||
@ -31,10 +24,7 @@ HTTPS GET over HTTP proxy fails
|
||||
<strip>
|
||||
^User-Agent:.*
|
||||
</strip>
|
||||
<protocol>
|
||||
</protocol>
|
||||
<data>
|
||||
[insert full protocol verifiction dump here]
|
||||
</data>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
@ -1,10 +1,4 @@
|
||||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
</data>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
<client>
|
||||
<features>
|
||||
@ -26,8 +20,6 @@ https://%HOSTIP:%HTTPSPORT/want/305 --cacert moooo
|
||||
<strip>
|
||||
^User-Agent:.*
|
||||
</strip>
|
||||
<protocol>
|
||||
</protocol>
|
||||
<errorcode>
|
||||
77
|
||||
</errorcode>
|
||||
|
@ -46,9 +46,6 @@ FTPS dir list PASV unencrypted data
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strip>
|
||||
filter off really nothing
|
||||
</strip>
|
||||
<protocol>
|
||||
USER anonymous
|
||||
PASS ftp@example.com
|
||||
|
@ -27,8 +27,6 @@ FTP SSL required on non-SSL server
|
||||
<errorcode>
|
||||
64
|
||||
</errorcode>
|
||||
<strip>
|
||||
</strip>
|
||||
<protocol>
|
||||
AUTH SSL
|
||||
AUTH TLS
|
||||
|
@ -2,6 +2,10 @@
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<servercmd>
|
||||
REPLY MDTM 550 bluah you f00l!
|
||||
REPLY SIZE 550 bluah you f00l!
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
@ -20,10 +24,6 @@ FTP with FILETIME and NOBODY but missing file
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/511
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
REPLY MDTM 550 bluah you f00l!
|
||||
REPLY SIZE 550 bluah you f00l!
|
||||
</file>
|
||||
</client>
|
||||
|
||||
#
|
||||
|
@ -5,6 +5,9 @@
|
||||
<data>
|
||||
contents of file
|
||||
</data>
|
||||
<servercmd>
|
||||
REPLY MDTM 213 20030405060708
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
@ -23,9 +26,6 @@ FTP RETR with FILETIME
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/520
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
REPLY MDTM 213 20030405060708
|
||||
</file>
|
||||
</client>
|
||||
|
||||
#
|
||||
|
@ -46,9 +46,6 @@ ftp://%HOSTIP/520/ %FTPPORT
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strip>
|
||||
filter off really nothing
|
||||
</strip>
|
||||
<protocol>
|
||||
USER xxx
|
||||
PASS yyy
|
||||
|
@ -37,8 +37,6 @@ ftp://%HOSTIP:%FTPPORT/path/526
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strip>
|
||||
</strip>
|
||||
<protocol>
|
||||
USER anonymous
|
||||
PASS ftp@example.com
|
||||
|
@ -37,8 +37,6 @@ ftp://%HOSTIP:%FTPPORT/path/527
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strip>
|
||||
</strip>
|
||||
<protocol>
|
||||
USER anonymous
|
||||
PASS ftp@example.com
|
||||
|
@ -40,8 +40,6 @@ http://%HOSTIP:%HTTPPORT/path/528
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strip>
|
||||
</strip>
|
||||
<protocol>
|
||||
GET /path/528 HTTP/1.1
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
|
@ -56,8 +56,6 @@ http://%HOSTIP:%HTTPPORT/path/530
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strip>
|
||||
</strip>
|
||||
<protocol>
|
||||
GET /path/530 HTTP/1.1
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
|
@ -37,8 +37,6 @@ ftp://%HOSTIP:%FTPPORT/path/532
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strip>
|
||||
</strip>
|
||||
<protocol>
|
||||
USER anonymous
|
||||
PASS ftp@example.com
|
||||
|
@ -35,8 +35,6 @@ ftp://%HOSTIP:%FTPPORT/path/533 ftp://%HOSTIP:%FTPPORT/path/533
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strip>
|
||||
</strip>
|
||||
<protocol>
|
||||
USER anonymous
|
||||
PASS ftp@example.com
|
||||
|
@ -35,8 +35,6 @@ ftp://non-existing-host.haxx.se/path/534 ftp://%HOSTIP:%FTPPORT/path/534
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strip>
|
||||
</strip>
|
||||
<protocol>
|
||||
USER anonymous
|
||||
PASS ftp@example.com
|
||||
|
@ -5,8 +5,12 @@ FTP
|
||||
FAILURE
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
# Server-side
|
||||
<reply>
|
||||
<servercmd>
|
||||
REPLY PASS 314 bluah you f00l!
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
@ -24,9 +28,6 @@ FTP multi-interface download, failed login: PASS not valid
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/538
|
||||
</command>
|
||||
<file name="log/ftpserver.cmd">
|
||||
REPLY PASS 314 bluah you f00l!
|
||||
</file>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
|
Loading…
Reference in New Issue
Block a user