Various test file cleanups, including using <servercmd> instead of writing

directly to ftpserver.cmd and removing unneeded empty sections.
This commit is contained in:
Dan Fandrich
2007-04-18 20:22:01 +00:00
parent c234b9d04b
commit ae3d5949b8
63 changed files with 127 additions and 204 deletions

View File

@@ -43,9 +43,6 @@ ftp://%HOSTIP:%FTPPORT/
# #
# Verify data after the test has been "shot" # Verify data after the test has been "shot"
<verify> <verify>
<strip>
filter off really nothing
</strip>
<protocol> <protocol>
USER anonymous USER anonymous
PASS ftp@example.com PASS ftp@example.com

View File

@@ -16,6 +16,9 @@ that FTP
works works
so does it? so does it?
</data> </data>
<servercmd>
REPLY EPSV 500 no such command
</servercmd>
</reply> </reply>
# Client-side # Client-side
@@ -30,9 +33,6 @@ FTP RETR PASV
ftp://%HOSTIP:%FTPPORT/102 ftp://%HOSTIP:%FTPPORT/102
</command> </command>
<file name="log/ftpserver.cmd">
REPLY EPSV 500 no such command
</file>
</client> </client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"

View File

@@ -17,6 +17,10 @@ that FTP
works works
so does it? so does it?
</data> </data>
<servercmd>
REPLY EPSV 500 no such command
REPLY SIZE 500 no such command
</servercmd>
</reply> </reply>
# Client-side # Client-side
@@ -30,10 +34,6 @@ FTP user+password in URL and ASCII transfer
<command> <command>
ftp://userdude:passfellow@%HOSTIP:%FTPPORT/103 --use-ascii ftp://userdude:passfellow@%HOSTIP:%FTPPORT/103 --use-ascii
</command> </command>
<file name="log/ftpserver.cmd">
REPLY EPSV 500 no such command
REPLY SIZE 500 no such command
</file>
</client> </client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"

View File

@@ -31,8 +31,6 @@ Moooooooooooo
# Verify data after the test has been "shot" # Verify data after the test has been "shot"
<verify> <verify>
<strip>
</strip>
<protocol> <protocol>
USER anonymous USER anonymous
PASS ftp@example.com PASS ftp@example.com

View File

@@ -16,6 +16,9 @@ but we emulate that
<size> <size>
85 85
</size> </size>
<servercmd>
REPLY EPSV 500 no such command
</servercmd>
</reply> </reply>
# Client-side # Client-side
@@ -29,15 +32,10 @@ FTP download resume with set limit
<command> <command>
ftp://%HOSTIP:%FTPPORT/110 -C 20 ftp://%HOSTIP:%FTPPORT/110 -C 20
</command> </command>
<file name="log/ftpserver.cmd">
REPLY EPSV 500 no such command
</file>
</client> </client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"
<verify> <verify>
<strip>
</strip>
<protocol> <protocol>
USER anonymous USER anonymous
PASS ftp@example.com PASS ftp@example.com

View File

@@ -32,8 +32,6 @@ ftp://%HOSTIP:%FTPPORT/111 -C 2000
<errorcode> <errorcode>
36 36
</errorcode> </errorcode>
<strip>
</strip>
<protocol> <protocol>
USER anonymous USER anonymous
PASS ftp@example.com PASS ftp@example.com

View File

@@ -31,8 +31,6 @@ worx?
# Verify data after the test has been "shot" # Verify data after the test has been "shot"
<verify> <verify>
<strip>
</strip>
<protocol> <protocol>
USER anonymous USER anonymous
PASS ftp@example.com PASS ftp@example.com

View File

@@ -7,6 +7,9 @@ FAILURE
</info> </info>
# Server-side # Server-side
<reply> <reply>
<servercmd>
REPLY USER 314 bluah you fewl!
</servercmd>
</reply> </reply>
# Client-side # Client-side
@@ -20,9 +23,6 @@ FTP download, failed login: USER not valid
<command> <command>
ftp://%HOSTIP:%FTPPORT/113 ftp://%HOSTIP:%FTPPORT/113
</command> </command>
<file name="log/ftpserver.cmd">
REPLY USER 314 bluah you fewl!
</file>
</client> </client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"

View File

@@ -7,6 +7,9 @@ FAILURE
</info> </info>
# Server-side # Server-side
<reply> <reply>
<servercmd>
REPLY PASS 314 bluah you f00l!
</servercmd>
</reply> </reply>
# Client-side # Client-side
@@ -20,9 +23,6 @@ FTP download, failed login: PASS not valid
<command> <command>
ftp://%HOSTIP:%FTPPORT/114 ftp://%HOSTIP:%FTPPORT/114
</command> </command>
<file name="log/ftpserver.cmd">
REPLY PASS 314 bluah you f00l!
</file>
</client> </client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"

View File

@@ -8,6 +8,10 @@ FAILURE
</info> </info>
# Server-side # Server-side
<reply> <reply>
<servercmd>
REPLY PASV 314 bluah you f00l!
REPLY EPSV 314 bluah you f00l!
</servercmd>
</reply> </reply>
# Client-side # Client-side
@@ -21,10 +25,6 @@ FTP download, failed PASV
<command> <command>
ftp://%HOSTIP:%FTPPORT/115 ftp://%HOSTIP:%FTPPORT/115
</command> </command>
<file name="log/ftpserver.cmd">
REPLY PASV 314 bluah you f00l!
REPLY EPSV 314 bluah you f00l!
</file>
</client> </client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"

View File

@@ -8,6 +8,9 @@ FAILURE
</info> </info>
# Server-side # Server-side
<reply> <reply>
<servercmd>
REPLY PORT 314 bluah you f00l!
</servercmd>
</reply> </reply>
# Client-side # Client-side
@@ -21,9 +24,6 @@ FTP download, failed PORT
<command> <command>
ftp://%HOSTIP:%FTPPORT/116 -P 127.0.0.1 ftp://%HOSTIP:%FTPPORT/116 -P 127.0.0.1
</command> </command>
<file name="log/ftpserver.cmd">
REPLY PORT 314 bluah you f00l!
</file>
</client> </client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"

View File

@@ -7,6 +7,10 @@ FAILURE
</info> </info>
# Server-side # Server-side
<reply> <reply>
<servercmd>
REPLY EPSV 314 bluah you f00l!
REPLY TYPE 314 bluah you f00l!
</servercmd>
</reply> </reply>
# Client-side # Client-side
@@ -20,10 +24,6 @@ FTP download, failed TYPE
<command> <command>
ftp://%HOSTIP:%FTPPORT/117 ftp://%HOSTIP:%FTPPORT/117
</command> </command>
<file name="log/ftpserver.cmd">
REPLY EPSV 314 bluah you f00l!
REPLY TYPE 314 bluah you f00l!
</file>
</client> </client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"

View File

@@ -9,6 +9,10 @@ FAILURE
</info> </info>
# Server-side # Server-side
<reply> <reply>
<servercmd>
REPLY RETR 314 bluah you f00l!
REPLY EPSV 314 bluah you f00l!
</servercmd>
</reply> </reply>
# Client-side # Client-side
@@ -22,10 +26,6 @@ FTP download, failed RETR
<command> <command>
ftp://%HOSTIP:%FTPPORT/118 ftp://%HOSTIP:%FTPPORT/118
</command> </command>
<file name="log/ftpserver.cmd">
REPLY RETR 314 bluah you f00l!
REPLY EPSV 314 bluah you f00l!
</file>
</client> </client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"

View File

@@ -9,6 +9,9 @@ FAILURE
</info> </info>
# Server-side # Server-side
<reply> <reply>
<servercmd>
REPLY RETR 314 bluah you f00l!
</servercmd>
</reply> </reply>
# Client-side # Client-side
@@ -22,9 +25,6 @@ FTP download, failed RETR with PORT
<command> <command>
ftp://%HOSTIP:%FTPPORT/119 -P - ftp://%HOSTIP:%FTPPORT/119 -P -
</command> </command>
<file name="log/ftpserver.cmd">
REPLY RETR 314 bluah you f00l!
</file>
</client> </client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"

View File

@@ -17,6 +17,9 @@ that FTP
works works
so does it? so does it?
</data> </data>
<servercmd>
REPLY EPSV 314 bluah you f00l!
</servercmd>
</reply> </reply>
# Client-side # Client-side
@@ -30,9 +33,6 @@ ftp download with post-quote delete operation
<command> <command>
ftp://%HOSTIP:%FTPPORT/120 -Q "-DELE file" ftp://%HOSTIP:%FTPPORT/120 -Q "-DELE file"
</command> </command>
<file name="log/ftpserver.cmd">
REPLY EPSV 314 bluah you f00l!
</file>
</client> </client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"

View File

@@ -11,6 +11,9 @@ Resume
<size> <size>
5 5
</size> </size>
<servercmd>
REPLY EPSV 500 no such command
</servercmd>
</reply> </reply>
# Client-side # Client-side
@@ -24,9 +27,6 @@ FTP download resume with whole file already downloaded
<command> <command>
ftp://%HOSTIP:%FTPPORT/122 -C 5 ftp://%HOSTIP:%FTPPORT/122 -C 5
</command> </command>
<file name="log/ftpserver.cmd">
REPLY EPSV 500 no such command
</file>
</client> </client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"

View File

@@ -11,6 +11,10 @@ RETR
<data> <data>
we can still send data even if pwd fails! we can still send data even if pwd fails!
</data> </data>
<servercmd>
REPLY PWD 314 bluah you f00l!
REPLY EPSV 314 bluah you f00l!
</servercmd>
</reply> </reply>
# Client-side # Client-side
@@ -24,10 +28,6 @@ FTP download, failed PWD
<command> <command>
ftp://%HOSTIP:%FTPPORT/124 ftp://%HOSTIP:%FTPPORT/124
</command> </command>
<file name="log/ftpserver.cmd">
REPLY PWD 314 bluah you f00l!
REPLY EPSV 314 bluah you f00l!
</file>
</client> </client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"

View File

@@ -7,6 +7,9 @@ FAILURE
</info> </info>
# Server-side # Server-side
<reply> <reply>
<servercmd>
REPLY CWD 314 bluah you f00l!
</servercmd>
</reply> </reply>
# Client-side # Client-side
@@ -20,9 +23,6 @@ FTP download, failed CWD
<command> <command>
ftp://%HOSTIP:%FTPPORT/path/to/file/125 ftp://%HOSTIP:%FTPPORT/path/to/file/125
</command> </command>
<file name="log/ftpserver.cmd">
REPLY CWD 314 bluah you f00l!
</file>
</client> </client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"

View File

@@ -12,6 +12,9 @@ RETRWEIRDO
<data> <data>
this is file contents this is file contents
</data> </data>
<servercmd>
RETRWEIRDO
</servercmd>
</reply> </reply>
# Client-side # Client-side
@@ -25,9 +28,6 @@ FTP download with multiple replies at once in RETR
<command> <command>
ftp://%HOSTIP:%FTPPORT/blalbla/lululul/126 ftp://%HOSTIP:%FTPPORT/blalbla/lululul/126
</command> </command>
<file name="log/ftpserver.cmd">
RETRWEIRDO
</file>
</client> </client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"

View File

@@ -52,9 +52,6 @@ machine %HOSTIP login user2 password passwd2
# #
# Verify data after the test has been "shot" # Verify data after the test has been "shot"
<verify> <verify>
<strip>
filter off really nothing
</strip>
<protocol> <protocol>
USER user1 USER user1
PASS passwd1 PASS passwd1

View File

@@ -53,9 +53,6 @@ machine %HOSTIP login user2 password passwd2
# #
# Verify data after the test has been "shot" # Verify data after the test has been "shot"
<verify> <verify>
<strip>
filter off really nothing
</strip>
<protocol> <protocol>
USER user2 USER user2
PASS passwd2 PASS passwd2

View File

@@ -52,9 +52,6 @@ machine %HOSTIP login user2 password passwd2
# #
# Verify data after the test has been "shot" # Verify data after the test has been "shot"
<verify> <verify>
<strip>
filter off really nothing
</strip>
<protocol> <protocol>
USER mary USER mary
PASS mark PASS mark

View File

@@ -52,9 +52,6 @@ machine %HOSTIP login user2 password passwd2
# #
# Verify data after the test has been "shot" # Verify data after the test has been "shot"
<verify> <verify>
<strip>
filter off really nothing
</strip>
<protocol> <protocol>
USER user1 USER user1
PASS passwd1 PASS passwd1

View File

@@ -52,9 +52,6 @@ machine %HOSTIP login user2 password passwd2
# #
# Verify data after the test has been "shot" # Verify data after the test has been "shot"
<verify> <verify>
<strip>
filter off really nothing
</strip>
<protocol> <protocol>
USER romulus USER romulus
PASS rhemus PASS rhemus

View File

@@ -4,6 +4,9 @@
<data> <data>
this is file contents this is file contents
</data> </data>
<servercmd>
RETRNOSIZE
</servercmd>
</reply> </reply>
# Client-side # Client-side
@@ -17,9 +20,6 @@ FTP download without size in RETR string
<command> <command>
ftp://%HOSTIP:%FTPPORT/blalbla/lululul/137 ftp://%HOSTIP:%FTPPORT/blalbla/lululul/137
</command> </command>
<file name="log/ftpserver.cmd">
RETRNOSIZE
</file>
</client> </client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"

View File

@@ -7,6 +7,9 @@ this is file contents
<size> <size>
-1 -1
</size> </size>
<servercmd>
RETRNOSIZE
</servercmd>
</reply> </reply>
# Client-side # Client-side
@@ -20,9 +23,6 @@ FTP download without size in RETR string and no SIZE command
<command> <command>
ftp://%HOSTIP:%FTPPORT/blalbla/lululul/138 ftp://%HOSTIP:%FTPPORT/blalbla/lululul/138
</command> </command>
<file name="log/ftpserver.cmd">
RETRNOSIZE
</file>
</client> </client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"

View File

@@ -3,6 +3,9 @@
<reply> <reply>
<data> <data>
</data> </data>
<servercmd>
REPLY NLST 450 No files found
</servercmd>
</reply> </reply>
# Client-side # Client-side
@@ -16,9 +19,6 @@ FTP NLST dir list without contents, using PORT
<command> <command>
ftp://%HOSTIP:%FTPPORT/ -P - -l ftp://%HOSTIP:%FTPPORT/ -P - -l
</command> </command>
<file name="log/ftpserver.cmd">
REPLY NLST 450 No files found
</file>
</client> </client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"

View File

@@ -1,6 +1,9 @@
<testcase> <testcase>
# Server-side # Server-side
<reply> <reply>
<servercmd>
REPLY NLST 550 Have a taste on this!
</servercmd>
<data> <data>
</data> </data>
</reply> </reply>
@@ -16,9 +19,6 @@ FTP NLST dir list with weird reply code, using PORT
<command> <command>
ftp://%HOSTIP:%FTPPORT/ -P - -l ftp://%HOSTIP:%FTPPORT/ -P - -l
</command> </command>
<file name="log/ftpserver.cmd">
REPLY NLST 550 Have a taste on this!
</file>
</client> </client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"

View File

@@ -4,6 +4,10 @@
<data> <data>
foo foo
</data> </data>
<servercmd>
REPLY CWD 550 I won't allow this on my server
COUNT CWD 1
</servercmd>
</reply> </reply>
# Client-side # Client-side
@@ -17,10 +21,6 @@ FTP with --ftp-create-dirs (failing CWD)
<command> <command>
ftp://%HOSTIP:%FTPPORT/first/dir/here/147 --ftp-create-dirs ftp://%HOSTIP:%FTPPORT/first/dir/here/147 --ftp-create-dirs
</command> </command>
<file name="log/ftpserver.cmd">
REPLY CWD 550 I won't allow this on my server
COUNT CWD 1
</file>
</client> </client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"

View File

@@ -1,6 +1,10 @@
<testcase> <testcase>
# Server-side # Server-side
<reply> <reply>
<servercmd>
REPLY CWD 550 I won't allow this on my server
REPLY MKD 550 We will have no such thing
</servercmd>
</reply> </reply>
# Client-side # Client-side
@@ -14,10 +18,6 @@ FTP with --ftp-create-dirs (failing MKD)
<command> <command>
ftp://%HOSTIP:%FTPPORT/attempt/to/get/this/148 --ftp-create-dirs ftp://%HOSTIP:%FTPPORT/attempt/to/get/this/148 --ftp-create-dirs
</command> </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> </client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"

View File

@@ -1,7 +1,9 @@
<testcase> <testcase>
# Server-side # Server-side
<reply> <reply>
moooooooo <servercmd>
DELAY CWD 60
</servercmd>
</reply> </reply>
# Client-side # Client-side
@@ -18,9 +20,6 @@ FTP download with strict timeout and slow CWD
<command> <command>
ftp://%HOSTIP:%FTPPORT/path/to/file/190 -m %FTPTIME2 ftp://%HOSTIP:%FTPPORT/path/to/file/190 -m %FTPTIME2
</command> </command>
<file name="log/ftpserver.cmd">
DELAY CWD 60
</file>
</client> </client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"

View File

@@ -1,6 +1,9 @@
<testcase> <testcase>
# Server-side # Server-side
<reply> <reply>
<servercmd>
REPLY PASS 530 temporarily not available
</servercmd>
</reply> </reply>
# Client-side # Client-side
@@ -14,9 +17,6 @@ FTP response 530 after PASS, temporarily not allowed access
<command> <command>
ftp://%HOSTIP:%FTPPORT/195 ftp://%HOSTIP:%FTPPORT/195
</command> </command>
<file name="log/ftpserver.cmd">
REPLY PASS 530 temporarily not available
</file>
</client> </client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"

View File

@@ -1,6 +1,9 @@
<testcase> <testcase>
# Server-side # Server-side
<reply> <reply>
<servercmd>
REPLY PASS 530 temporarily not available
</servercmd>
</reply> </reply>
# Client-side # Client-side
@@ -14,9 +17,6 @@ FTP transient error, retry request once
<command> <command>
ftp://%HOSTIP:%FTPPORT/196 --retry 1 ftp://%HOSTIP:%FTPPORT/196 --retry 1
</command> </command>
<file name="log/ftpserver.cmd">
REPLY PASS 530 temporarily not available
</file>
</client> </client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"

View File

@@ -4,6 +4,9 @@
<data> <data>
data blobb data blobb
</data> </data>
<servercmd>
REPLY EPSV 500 no such command
</servercmd>
</reply> </reply>
# Client-side # Client-side
@@ -17,9 +20,6 @@ Get two FTP files with no remote EPSV support
<command> <command>
ftp://%HOSTIP:%FTPPORT/a/path/211 ftp://%HOSTIP:%FTPPORT/a/path/211 ftp://%HOSTIP:%FTPPORT/a/path/211 ftp://%HOSTIP:%FTPPORT/a/path/211
</command> </command>
<file name="log/ftpserver.cmd">
REPLY EPSV 500 no such command
</file>
<stdout> <stdout>
data blobb data blobb
data blobb data blobb

View File

@@ -4,6 +4,9 @@
<data> <data>
data blobb data blobb
</data> </data>
<servercmd>
REPLY EPRT 500 no such command
</servercmd>
</reply> </reply>
# Client-side # Client-side
@@ -20,9 +23,6 @@ Get two FTP files with no remote EPRT support
<command> <command>
ftp://%HOSTIP:%FTPPORT/a/path/212 ftp://%HOSTIP:%FTPPORT/a/path/212 -P - ftp://%HOSTIP:%FTPPORT/a/path/212 ftp://%HOSTIP:%FTPPORT/a/path/212 -P -
</command> </command>
<file name="log/ftpserver.cmd">
REPLY EPRT 500 no such command
</file>
<stdout> <stdout>
data blobb data blobb
data blobb data blobb

View File

@@ -18,6 +18,9 @@ that FTP
works works
so does it? so does it?
</data> </data>
<servercmd>
REPLY EPSV 500 no such command
</servercmd>
</reply> </reply>
# Client-side # Client-side
@@ -31,9 +34,6 @@ FTP with quote ops
<command> <command>
ftp://%HOSTIP:%FTPPORT/227 -Q "NOOP 1" -Q "+NOOP 2" -Q "-NOOP 3" ftp://%HOSTIP:%FTPPORT/227 -Q "NOOP 1" -Q "+NOOP 2" -Q "-NOOP 3"
</command> </command>
<file name="log/ftpserver.cmd">
REPLY EPSV 500 no such command
</file>
</client> </client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"

View File

@@ -16,6 +16,10 @@ that FTP
works works
so does it? so does it?
</data> </data>
<servercmd>
REPLY PASS 332 please provide account name
REPLY ACCT 230 thank you
</servercmd>
</reply> </reply>
# Client-side # Client-side
@@ -29,10 +33,6 @@ FTP RETR with ACCT
<command> <command>
ftp://%HOSTIP:%FTPPORT/228 --ftp-account "one count" ftp://%HOSTIP:%FTPPORT/228 --ftp-account "one count"
</command> </command>
<file name="log/ftpserver.cmd">
REPLY PASS 332 please provide account name
REPLY ACCT 230 thank you
</file>
</client> </client>

View File

@@ -9,6 +9,10 @@ compressed
</info> </info>
# Server-side # Server-side
<reply> <reply>
<servercmd>
REPLY PASS 332 please provide account name
REPLY ACCT 532 bluah!
</servercmd>
</reply> </reply>
# Client-side # Client-side
@@ -22,10 +26,6 @@ FTP RETR with bad ACCT
<command> <command>
ftp://%HOSTIP:%FTPPORT/229 --ftp-account "one count" ftp://%HOSTIP:%FTPPORT/229 --ftp-account "one count"
</command> </command>
<file name="log/ftpserver.cmd">
REPLY PASS 332 please provide account name
REPLY ACCT 532 bluah!
</file>
</client> </client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"

View File

@@ -23,8 +23,6 @@ worx?
# Verify data after the test has been "shot" # Verify data after the test has been "shot"
<verify> <verify>
<strip>
</strip>
<protocol> <protocol>
USER anonymous USER anonymous
PASS ftp@example.com PASS ftp@example.com

View File

@@ -1,4 +1,14 @@
<testcase> <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-side
<client> <client>
<server> <server>
@@ -8,12 +18,10 @@ ftp
FTP resume upload but denied access to remote file FTP resume upload but denied access to remote file
</name> </name>
<command> <command>
ftp://%HOSTIP:%FTPPORT/236 -T log/ftpserver.cmd -C - ftp://%HOSTIP:%FTPPORT/236 -T log/file236.txt -C -
</command> </command>
<file name="log/ftpserver.cmd"> <file name="log/file236.txt">
REPLY SIZE 550 access to this file is very much denied Test data
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> </file>
</client> </client>

View File

@@ -1,6 +1,9 @@
<testcase> <testcase>
# Server-side # Server-side
<reply> <reply>
<servercmd>
REPLY PASV 227 Entering Passiv Mode (1216,256,2,127,127,127)
</servercmd>
</reply> </reply>
# Client-side # Client-side
@@ -14,9 +17,6 @@ FTP getting bad host in 227-response to PASV
<command> <command>
ftp://%HOSTIP:%FTPPORT/237 --disable-epsv ftp://%HOSTIP:%FTPPORT/237 --disable-epsv
</command> </command>
<file name="log/ftpserver.cmd">
REPLY PASV 227 Entering Passiv Mode (1216,256,2,127,127,127)
</file>
</client> </client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"

View File

@@ -1,6 +1,10 @@
<testcase> <testcase>
# Server-side # Server-side
<reply> <reply>
<servercmd>
REPLY EPSV 229 Entering Passiv Mode (|||1000000|)
REPLY PASV 227 Entering Passiv Mode (1216,256,2,127,127,127)
</servercmd>
</reply> </reply>
# Client-side # Client-side
@@ -14,10 +18,6 @@ FTP getting bad port in response to EPSV and in response to PASV
<command> <command>
ftp://%HOSTIP:%FTPPORT/238 ftp://%HOSTIP:%FTPPORT/238
</command> </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> </client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"

View File

@@ -39,9 +39,6 @@ ftp://%HOSTIP:%FTPPORT/
# #
# Verify data after the test has been "shot" # Verify data after the test has been "shot"
<verify> <verify>
<strip>
filter off really nothing
</strip>
<protocol> <protocol>
USER anonymous USER anonymous
PASS ftp@example.com PASS ftp@example.com

View File

@@ -45,9 +45,6 @@ FTP IPv6 dir list PASV
# #
# Verify data after the test has been "shot" # Verify data after the test has been "shot"
<verify> <verify>
<strip>
filter off really nothing
</strip>
<protocol> <protocol>
USER anonymous USER anonymous
PASS ftp@example.com PASS ftp@example.com

View File

@@ -46,9 +46,6 @@ FTP IPv6 dir list PASV and --disable-epsv
# #
# Verify data after the test has been "shot" # Verify data after the test has been "shot"
<verify> <verify>
<strip>
filter off really nothing
</strip>
<protocol> <protocol>
USER anonymous USER anonymous
PASS ftp@example.com PASS ftp@example.com

View File

@@ -34,9 +34,6 @@ ftp://%HOSTIP:%FTPPORT/261
# #
# Verify data after the test has been "shot" # Verify data after the test has been "shot"
<verify> <verify>
<strip>
filter off really nothing
</strip>
<protocol> <protocol>
USER anonymous USER anonymous
PASS ftp@example.com PASS ftp@example.com

View File

@@ -48,9 +48,6 @@ ftp://%HOSTIP:%FTPPORT/280/ --ftp-alternative-to-user "USER replacement"
# #
# Verify data after the test has been "shot" # Verify data after the test has been "shot"
<verify> <verify>
<strip>
filter off really nothing
</strip>
<protocol> <protocol>
USER anonymous USER anonymous
USER replacement USER replacement

View File

@@ -30,8 +30,6 @@ ftp://%HOSTIP:%FTPPORT/290 --max-filesize 30
<errorcode> <errorcode>
63 63
</errorcode> </errorcode>
<strip>
</strip>
<protocol> <protocol>
USER anonymous USER anonymous
PASS ftp@example.com PASS ftp@example.com

View File

@@ -1,11 +1,4 @@
<testcase> <testcase>
#
# Server-side
<reply>
MOOOOO
</reply>
#
# Client-side # Client-side
<client> <client>
<features> <features>
@@ -31,10 +24,7 @@ HTTPS GET over HTTP proxy fails
<strip> <strip>
^User-Agent:.* ^User-Agent:.*
</strip> </strip>
<protocol>
</protocol>
<data> <data>
[insert full protocol verifiction dump here]
</data> </data>
</verify> </verify>
</testcase> </testcase>

View File

@@ -1,10 +1,4 @@
<testcase> <testcase>
# Server-side
<reply>
<data>
</data>
</reply>
# Client-side # Client-side
<client> <client>
<features> <features>
@@ -26,8 +20,6 @@ https://%HOSTIP:%HTTPSPORT/want/305 --cacert moooo
<strip> <strip>
^User-Agent:.* ^User-Agent:.*
</strip> </strip>
<protocol>
</protocol>
<errorcode> <errorcode>
77 77
</errorcode> </errorcode>

View File

@@ -46,9 +46,6 @@ FTPS dir list PASV unencrypted data
# #
# Verify data after the test has been "shot" # Verify data after the test has been "shot"
<verify> <verify>
<strip>
filter off really nothing
</strip>
<protocol> <protocol>
USER anonymous USER anonymous
PASS ftp@example.com PASS ftp@example.com

View File

@@ -27,8 +27,6 @@ FTP SSL required on non-SSL server
<errorcode> <errorcode>
64 64
</errorcode> </errorcode>
<strip>
</strip>
<protocol> <protocol>
AUTH SSL AUTH SSL
AUTH TLS AUTH TLS

View File

@@ -2,6 +2,10 @@
# #
# Server-side # Server-side
<reply> <reply>
<servercmd>
REPLY MDTM 550 bluah you f00l!
REPLY SIZE 550 bluah you f00l!
</servercmd>
</reply> </reply>
# Client-side # Client-side
@@ -20,10 +24,6 @@ FTP with FILETIME and NOBODY but missing file
<command> <command>
ftp://%HOSTIP:%FTPPORT/511 ftp://%HOSTIP:%FTPPORT/511
</command> </command>
<file name="log/ftpserver.cmd">
REPLY MDTM 550 bluah you f00l!
REPLY SIZE 550 bluah you f00l!
</file>
</client> </client>
# #

View File

@@ -5,6 +5,9 @@
<data> <data>
contents of file contents of file
</data> </data>
<servercmd>
REPLY MDTM 213 20030405060708
</servercmd>
</reply> </reply>
# Client-side # Client-side
@@ -23,9 +26,6 @@ FTP RETR with FILETIME
<command> <command>
ftp://%HOSTIP:%FTPPORT/520 ftp://%HOSTIP:%FTPPORT/520
</command> </command>
<file name="log/ftpserver.cmd">
REPLY MDTM 213 20030405060708
</file>
</client> </client>
# #

View File

@@ -46,9 +46,6 @@ ftp://%HOSTIP/520/ %FTPPORT
# #
# Verify data after the test has been "shot" # Verify data after the test has been "shot"
<verify> <verify>
<strip>
filter off really nothing
</strip>
<protocol> <protocol>
USER xxx USER xxx
PASS yyy PASS yyy

View File

@@ -37,8 +37,6 @@ ftp://%HOSTIP:%FTPPORT/path/526
# Verify data after the test has been "shot" # Verify data after the test has been "shot"
<verify> <verify>
<strip>
</strip>
<protocol> <protocol>
USER anonymous USER anonymous
PASS ftp@example.com PASS ftp@example.com

View File

@@ -37,8 +37,6 @@ ftp://%HOSTIP:%FTPPORT/path/527
# Verify data after the test has been "shot" # Verify data after the test has been "shot"
<verify> <verify>
<strip>
</strip>
<protocol> <protocol>
USER anonymous USER anonymous
PASS ftp@example.com PASS ftp@example.com

View File

@@ -40,8 +40,6 @@ http://%HOSTIP:%HTTPPORT/path/528
# Verify data after the test has been "shot" # Verify data after the test has been "shot"
<verify> <verify>
<strip>
</strip>
<protocol> <protocol>
GET /path/528 HTTP/1.1 GET /path/528 HTTP/1.1
Host: %HOSTIP:%HTTPPORT Host: %HOSTIP:%HTTPPORT

View File

@@ -56,8 +56,6 @@ http://%HOSTIP:%HTTPPORT/path/530
# Verify data after the test has been "shot" # Verify data after the test has been "shot"
<verify> <verify>
<strip>
</strip>
<protocol> <protocol>
GET /path/530 HTTP/1.1 GET /path/530 HTTP/1.1
Host: %HOSTIP:%HTTPPORT Host: %HOSTIP:%HTTPPORT

View File

@@ -37,8 +37,6 @@ ftp://%HOSTIP:%FTPPORT/path/532
# Verify data after the test has been "shot" # Verify data after the test has been "shot"
<verify> <verify>
<strip>
</strip>
<protocol> <protocol>
USER anonymous USER anonymous
PASS ftp@example.com PASS ftp@example.com

View File

@@ -35,8 +35,6 @@ ftp://%HOSTIP:%FTPPORT/path/533 ftp://%HOSTIP:%FTPPORT/path/533
# Verify data after the test has been "shot" # Verify data after the test has been "shot"
<verify> <verify>
<strip>
</strip>
<protocol> <protocol>
USER anonymous USER anonymous
PASS ftp@example.com PASS ftp@example.com

View File

@@ -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 data after the test has been "shot"
<verify> <verify>
<strip>
</strip>
<protocol> <protocol>
USER anonymous USER anonymous
PASS ftp@example.com PASS ftp@example.com

View File

@@ -5,8 +5,12 @@ FTP
FAILURE FAILURE
</keywords> </keywords>
</info> </info>
# Server-side # Server-side
<reply> <reply>
<servercmd>
REPLY PASS 314 bluah you f00l!
</servercmd>
</reply> </reply>
# Client-side # Client-side
@@ -24,9 +28,6 @@ FTP multi-interface download, failed login: PASS not valid
<command> <command>
ftp://%HOSTIP:%FTPPORT/538 ftp://%HOSTIP:%FTPPORT/538
</command> </command>
<file name="log/ftpserver.cmd">
REPLY PASS 314 bluah you f00l!
</file>
</client> </client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"