From ae3d5949b8611fd21d5397608bfd34d675156fad Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Wed, 18 Apr 2007 20:22:01 +0000 Subject: Various test file cleanups, including using instead of writing directly to ftpserver.cmd and removing unneeded empty sections. --- tests/data/test100 | 3 --- tests/data/test102 | 6 +++--- tests/data/test105 | 8 ++++---- tests/data/test109 | 2 -- tests/data/test110 | 8 +++----- tests/data/test111 | 2 -- tests/data/test112 | 2 -- tests/data/test113 | 6 +++--- tests/data/test114 | 6 +++--- tests/data/test115 | 8 ++++---- tests/data/test116 | 6 +++--- tests/data/test117 | 8 ++++---- tests/data/test118 | 8 ++++---- tests/data/test119 | 6 +++--- tests/data/test120 | 6 +++--- tests/data/test122 | 6 +++--- tests/data/test124 | 8 ++++---- tests/data/test125 | 6 +++--- tests/data/test126 | 6 +++--- tests/data/test130 | 3 --- tests/data/test131 | 3 --- tests/data/test132 | 3 --- tests/data/test133 | 3 --- tests/data/test134 | 3 --- tests/data/test137 | 6 +++--- tests/data/test138 | 6 +++--- tests/data/test144 | 6 +++--- tests/data/test145 | 6 +++--- tests/data/test147 | 8 ++++---- tests/data/test148 | 8 ++++---- tests/data/test190 | 7 +++---- tests/data/test195 | 6 +++--- tests/data/test196 | 6 +++--- tests/data/test211 | 6 +++--- tests/data/test212 | 6 +++--- tests/data/test227 | 6 +++--- tests/data/test228 | 8 ++++---- tests/data/test229 | 8 ++++---- tests/data/test235 | 2 -- tests/data/test236 | 18 +++++++++++++----- tests/data/test237 | 6 +++--- tests/data/test238 | 8 ++++---- tests/data/test250 | 3 --- tests/data/test252 | 3 --- tests/data/test254 | 3 --- tests/data/test261 | 3 --- tests/data/test280 | 3 --- tests/data/test290 | 2 -- tests/data/test302 | 10 ---------- tests/data/test305 | 8 -------- tests/data/test400 | 3 --- tests/data/test402 | 2 -- tests/data/test511 | 8 ++++---- tests/data/test520 | 6 +++--- tests/data/test521 | 3 --- tests/data/test526 | 2 -- tests/data/test527 | 2 -- tests/data/test528 | 2 -- tests/data/test530 | 2 -- tests/data/test532 | 2 -- tests/data/test533 | 2 -- tests/data/test534 | 2 -- tests/data/test538 | 7 ++++--- 63 files changed, 127 insertions(+), 204 deletions(-) (limited to 'tests/data') diff --git a/tests/data/test100 b/tests/data/test100 index e27b05b4e..6127163b2 100644 --- a/tests/data/test100 +++ b/tests/data/test100 @@ -43,9 +43,6 @@ ftp://%HOSTIP:%FTPPORT/ # # Verify data after the test has been "shot" - -filter off really nothing - USER anonymous PASS ftp@example.com diff --git a/tests/data/test102 b/tests/data/test102 index 692a4f6cd..141bc0f35 100644 --- a/tests/data/test102 +++ b/tests/data/test102 @@ -16,6 +16,9 @@ that FTP works so does it? + +REPLY EPSV 500 no such command + # Client-side @@ -30,9 +33,6 @@ FTP RETR PASV ftp://%HOSTIP:%FTPPORT/102 - -REPLY EPSV 500 no such command - # Verify data after the test has been "shot" diff --git a/tests/data/test105 b/tests/data/test105 index d3a0a4f2d..cab24f71d 100644 --- a/tests/data/test105 +++ b/tests/data/test105 @@ -17,6 +17,10 @@ that FTP works so does it? + +REPLY EPSV 500 no such command +REPLY SIZE 500 no such command + # Client-side @@ -30,10 +34,6 @@ FTP user+password in URL and ASCII transfer ftp://userdude:passfellow@%HOSTIP:%FTPPORT/103 --use-ascii - -REPLY EPSV 500 no such command -REPLY SIZE 500 no such command - # Verify data after the test has been "shot" diff --git a/tests/data/test109 b/tests/data/test109 index b2e80654d..c027885b1 100644 --- a/tests/data/test109 +++ b/tests/data/test109 @@ -31,8 +31,6 @@ Moooooooooooo # Verify data after the test has been "shot" - - USER anonymous PASS ftp@example.com diff --git a/tests/data/test110 b/tests/data/test110 index 2b6f42f86..b63ba8a2d 100644 --- a/tests/data/test110 +++ b/tests/data/test110 @@ -16,6 +16,9 @@ but we emulate that 85 + +REPLY EPSV 500 no such command + # Client-side @@ -29,15 +32,10 @@ FTP download resume with set limit ftp://%HOSTIP:%FTPPORT/110 -C 20 - -REPLY EPSV 500 no such command - # Verify data after the test has been "shot" - - USER anonymous PASS ftp@example.com diff --git a/tests/data/test111 b/tests/data/test111 index ee81fc6fa..bcaa55425 100644 --- a/tests/data/test111 +++ b/tests/data/test111 @@ -32,8 +32,6 @@ ftp://%HOSTIP:%FTPPORT/111 -C 2000 36 - - USER anonymous PASS ftp@example.com diff --git a/tests/data/test112 b/tests/data/test112 index 6e4b20c09..eb3400c57 100644 --- a/tests/data/test112 +++ b/tests/data/test112 @@ -31,8 +31,6 @@ worx? # Verify data after the test has been "shot" - - USER anonymous PASS ftp@example.com diff --git a/tests/data/test113 b/tests/data/test113 index 39d200e52..0046297cf 100644 --- a/tests/data/test113 +++ b/tests/data/test113 @@ -7,6 +7,9 @@ FAILURE # Server-side + +REPLY USER 314 bluah you fewl! + # Client-side @@ -20,9 +23,6 @@ FTP download, failed login: USER not valid ftp://%HOSTIP:%FTPPORT/113 - -REPLY USER 314 bluah you fewl! - # Verify data after the test has been "shot" diff --git a/tests/data/test114 b/tests/data/test114 index 70f1f6ad6..6611aedeb 100644 --- a/tests/data/test114 +++ b/tests/data/test114 @@ -7,6 +7,9 @@ FAILURE # Server-side + +REPLY PASS 314 bluah you f00l! + # Client-side @@ -20,9 +23,6 @@ FTP download, failed login: PASS not valid ftp://%HOSTIP:%FTPPORT/114 - -REPLY PASS 314 bluah you f00l! - # Verify data after the test has been "shot" diff --git a/tests/data/test115 b/tests/data/test115 index d4df5ebcc..f37a7e9fd 100644 --- a/tests/data/test115 +++ b/tests/data/test115 @@ -8,6 +8,10 @@ FAILURE # Server-side + +REPLY PASV 314 bluah you f00l! +REPLY EPSV 314 bluah you f00l! + # Client-side @@ -21,10 +25,6 @@ FTP download, failed PASV ftp://%HOSTIP:%FTPPORT/115 - -REPLY PASV 314 bluah you f00l! -REPLY EPSV 314 bluah you f00l! - # Verify data after the test has been "shot" diff --git a/tests/data/test116 b/tests/data/test116 index e049e6f43..d3718e393 100644 --- a/tests/data/test116 +++ b/tests/data/test116 @@ -8,6 +8,9 @@ FAILURE # Server-side + +REPLY PORT 314 bluah you f00l! + # Client-side @@ -21,9 +24,6 @@ FTP download, failed PORT ftp://%HOSTIP:%FTPPORT/116 -P 127.0.0.1 - -REPLY PORT 314 bluah you f00l! - # Verify data after the test has been "shot" diff --git a/tests/data/test117 b/tests/data/test117 index 35c7a1833..2caad0da5 100644 --- a/tests/data/test117 +++ b/tests/data/test117 @@ -7,6 +7,10 @@ FAILURE # Server-side + +REPLY EPSV 314 bluah you f00l! +REPLY TYPE 314 bluah you f00l! + # Client-side @@ -20,10 +24,6 @@ FTP download, failed TYPE ftp://%HOSTIP:%FTPPORT/117 - -REPLY EPSV 314 bluah you f00l! -REPLY TYPE 314 bluah you f00l! - # Verify data after the test has been "shot" diff --git a/tests/data/test118 b/tests/data/test118 index f8f6dd114..6cd086ca2 100644 --- a/tests/data/test118 +++ b/tests/data/test118 @@ -9,6 +9,10 @@ FAILURE # Server-side + +REPLY RETR 314 bluah you f00l! +REPLY EPSV 314 bluah you f00l! + # Client-side @@ -22,10 +26,6 @@ FTP download, failed RETR ftp://%HOSTIP:%FTPPORT/118 - -REPLY RETR 314 bluah you f00l! -REPLY EPSV 314 bluah you f00l! - # Verify data after the test has been "shot" diff --git a/tests/data/test119 b/tests/data/test119 index 8c13960dd..0db6d297c 100644 --- a/tests/data/test119 +++ b/tests/data/test119 @@ -9,6 +9,9 @@ FAILURE # Server-side + +REPLY RETR 314 bluah you f00l! + # Client-side @@ -22,9 +25,6 @@ FTP download, failed RETR with PORT ftp://%HOSTIP:%FTPPORT/119 -P - - -REPLY RETR 314 bluah you f00l! - # Verify data after the test has been "shot" diff --git a/tests/data/test120 b/tests/data/test120 index 2e50fabd7..85d49f529 100644 --- a/tests/data/test120 +++ b/tests/data/test120 @@ -17,6 +17,9 @@ that FTP works so does it? + +REPLY EPSV 314 bluah you f00l! + # Client-side @@ -30,9 +33,6 @@ ftp download with post-quote delete operation ftp://%HOSTIP:%FTPPORT/120 -Q "-DELE file" - -REPLY EPSV 314 bluah you f00l! - # Verify data after the test has been "shot" diff --git a/tests/data/test122 b/tests/data/test122 index 276068741..fb1dd05fc 100644 --- a/tests/data/test122 +++ b/tests/data/test122 @@ -11,6 +11,9 @@ Resume 5 + +REPLY EPSV 500 no such command + # Client-side @@ -24,9 +27,6 @@ FTP download resume with whole file already downloaded ftp://%HOSTIP:%FTPPORT/122 -C 5 - -REPLY EPSV 500 no such command - # Verify data after the test has been "shot" diff --git a/tests/data/test124 b/tests/data/test124 index 6e01dba38..255d8731f 100644 --- a/tests/data/test124 +++ b/tests/data/test124 @@ -11,6 +11,10 @@ RETR we can still send data even if pwd fails! + +REPLY PWD 314 bluah you f00l! +REPLY EPSV 314 bluah you f00l! + # Client-side @@ -24,10 +28,6 @@ FTP download, failed PWD ftp://%HOSTIP:%FTPPORT/124 - -REPLY PWD 314 bluah you f00l! -REPLY EPSV 314 bluah you f00l! - # Verify data after the test has been "shot" diff --git a/tests/data/test125 b/tests/data/test125 index d9b6205d6..5677aeb47 100644 --- a/tests/data/test125 +++ b/tests/data/test125 @@ -7,6 +7,9 @@ FAILURE # Server-side + +REPLY CWD 314 bluah you f00l! + # Client-side @@ -20,9 +23,6 @@ FTP download, failed CWD ftp://%HOSTIP:%FTPPORT/path/to/file/125 - -REPLY CWD 314 bluah you f00l! - # Verify data after the test has been "shot" diff --git a/tests/data/test126 b/tests/data/test126 index 92ae37bb2..0872214af 100644 --- a/tests/data/test126 +++ b/tests/data/test126 @@ -12,6 +12,9 @@ RETRWEIRDO this is file contents + +RETRWEIRDO + # Client-side @@ -25,9 +28,6 @@ FTP download with multiple replies at once in RETR ftp://%HOSTIP:%FTPPORT/blalbla/lululul/126 - -RETRWEIRDO - # Verify data after the test has been "shot" diff --git a/tests/data/test130 b/tests/data/test130 index c1e9cd998..43ab24c09 100644 --- a/tests/data/test130 +++ b/tests/data/test130 @@ -52,9 +52,6 @@ machine %HOSTIP login user2 password passwd2 # # Verify data after the test has been "shot" - -filter off really nothing - USER user1 PASS passwd1 diff --git a/tests/data/test131 b/tests/data/test131 index d14bea47c..5f9eb6ac1 100644 --- a/tests/data/test131 +++ b/tests/data/test131 @@ -53,9 +53,6 @@ machine %HOSTIP login user2 password passwd2 # # Verify data after the test has been "shot" - -filter off really nothing - USER user2 PASS passwd2 diff --git a/tests/data/test132 b/tests/data/test132 index c03e8ed41..2ff39fb9a 100644 --- a/tests/data/test132 +++ b/tests/data/test132 @@ -52,9 +52,6 @@ machine %HOSTIP login user2 password passwd2 # # Verify data after the test has been "shot" - -filter off really nothing - USER mary PASS mark diff --git a/tests/data/test133 b/tests/data/test133 index 6016a64f1..2e6b2c3a4 100644 --- a/tests/data/test133 +++ b/tests/data/test133 @@ -52,9 +52,6 @@ machine %HOSTIP login user2 password passwd2 # # Verify data after the test has been "shot" - -filter off really nothing - USER user1 PASS passwd1 diff --git a/tests/data/test134 b/tests/data/test134 index a18cbaa55..8ff9c1902 100644 --- a/tests/data/test134 +++ b/tests/data/test134 @@ -52,9 +52,6 @@ machine %HOSTIP login user2 password passwd2 # # Verify data after the test has been "shot" - -filter off really nothing - USER romulus PASS rhemus diff --git a/tests/data/test137 b/tests/data/test137 index 75dbe6af7..11068cbd8 100644 --- a/tests/data/test137 +++ b/tests/data/test137 @@ -4,6 +4,9 @@ this is file contents + +RETRNOSIZE + # Client-side @@ -17,9 +20,6 @@ FTP download without size in RETR string ftp://%HOSTIP:%FTPPORT/blalbla/lululul/137 - -RETRNOSIZE - # Verify data after the test has been "shot" diff --git a/tests/data/test138 b/tests/data/test138 index 6c8ecd5b2..e0de7d22b 100644 --- a/tests/data/test138 +++ b/tests/data/test138 @@ -7,6 +7,9 @@ this is file contents -1 + +RETRNOSIZE + # Client-side @@ -20,9 +23,6 @@ FTP download without size in RETR string and no SIZE command ftp://%HOSTIP:%FTPPORT/blalbla/lululul/138 - -RETRNOSIZE - # Verify data after the test has been "shot" diff --git a/tests/data/test144 b/tests/data/test144 index eec3b3731..4a9f0038e 100644 --- a/tests/data/test144 +++ b/tests/data/test144 @@ -3,6 +3,9 @@ + +REPLY NLST 450 No files found + # Client-side @@ -16,9 +19,6 @@ FTP NLST dir list without contents, using PORT ftp://%HOSTIP:%FTPPORT/ -P - -l - -REPLY NLST 450 No files found - # Verify data after the test has been "shot" diff --git a/tests/data/test145 b/tests/data/test145 index 708c67264..931d52745 100644 --- a/tests/data/test145 +++ b/tests/data/test145 @@ -1,6 +1,9 @@ # Server-side + +REPLY NLST 550 Have a taste on this! + @@ -16,9 +19,6 @@ FTP NLST dir list with weird reply code, using PORT ftp://%HOSTIP:%FTPPORT/ -P - -l - -REPLY NLST 550 Have a taste on this! - # Verify data after the test has been "shot" diff --git a/tests/data/test147 b/tests/data/test147 index 48a3e9fa0..9d2b27aea 100644 --- a/tests/data/test147 +++ b/tests/data/test147 @@ -4,6 +4,10 @@ foo + +REPLY CWD 550 I won't allow this on my server +COUNT CWD 1 + # Client-side @@ -17,10 +21,6 @@ FTP with --ftp-create-dirs (failing CWD) ftp://%HOSTIP:%FTPPORT/first/dir/here/147 --ftp-create-dirs - -REPLY CWD 550 I won't allow this on my server -COUNT CWD 1 - # Verify data after the test has been "shot" diff --git a/tests/data/test148 b/tests/data/test148 index 50a651d9c..ace4b4d4e 100644 --- a/tests/data/test148 +++ b/tests/data/test148 @@ -1,6 +1,10 @@ # Server-side + +REPLY CWD 550 I won't allow this on my server +REPLY MKD 550 We will have no such thing + # Client-side @@ -14,10 +18,6 @@ FTP with --ftp-create-dirs (failing MKD) ftp://%HOSTIP:%FTPPORT/attempt/to/get/this/148 --ftp-create-dirs - -REPLY CWD 550 I won't allow this on my server -REPLY MKD 550 We will have no such thing - # Verify data after the test has been "shot" diff --git a/tests/data/test190 b/tests/data/test190 index 4ac85af4a..722ef365d 100644 --- a/tests/data/test190 +++ b/tests/data/test190 @@ -1,7 +1,9 @@ # Server-side -moooooooo + +DELAY CWD 60 + # Client-side @@ -18,9 +20,6 @@ FTP download with strict timeout and slow CWD ftp://%HOSTIP:%FTPPORT/path/to/file/190 -m %FTPTIME2 - -DELAY CWD 60 - # Verify data after the test has been "shot" diff --git a/tests/data/test195 b/tests/data/test195 index 556b08ee4..788c89a02 100644 --- a/tests/data/test195 +++ b/tests/data/test195 @@ -1,6 +1,9 @@ # Server-side + +REPLY PASS 530 temporarily not available + # Client-side @@ -14,9 +17,6 @@ FTP response 530 after PASS, temporarily not allowed access ftp://%HOSTIP:%FTPPORT/195 - -REPLY PASS 530 temporarily not available - # Verify data after the test has been "shot" diff --git a/tests/data/test196 b/tests/data/test196 index 6c84bd818..663eaf2e0 100644 --- a/tests/data/test196 +++ b/tests/data/test196 @@ -1,6 +1,9 @@ # Server-side + +REPLY PASS 530 temporarily not available + # Client-side @@ -14,9 +17,6 @@ FTP transient error, retry request once ftp://%HOSTIP:%FTPPORT/196 --retry 1 - -REPLY PASS 530 temporarily not available - # Verify data after the test has been "shot" diff --git a/tests/data/test211 b/tests/data/test211 index 72252a863..0214effc8 100644 --- a/tests/data/test211 +++ b/tests/data/test211 @@ -4,6 +4,9 @@ data blobb + +REPLY EPSV 500 no such command + # Client-side @@ -17,9 +20,6 @@ Get two FTP files with no remote EPSV support ftp://%HOSTIP:%FTPPORT/a/path/211 ftp://%HOSTIP:%FTPPORT/a/path/211 - -REPLY EPSV 500 no such command - data blobb data blobb diff --git a/tests/data/test212 b/tests/data/test212 index 655a32f38..d00e677d7 100644 --- a/tests/data/test212 +++ b/tests/data/test212 @@ -4,6 +4,9 @@ data blobb + +REPLY EPRT 500 no such command + # Client-side @@ -20,9 +23,6 @@ Get two FTP files with no remote EPRT support ftp://%HOSTIP:%FTPPORT/a/path/212 ftp://%HOSTIP:%FTPPORT/a/path/212 -P - - -REPLY EPRT 500 no such command - data blobb data blobb diff --git a/tests/data/test227 b/tests/data/test227 index d6cac8d47..6f8f86121 100644 --- a/tests/data/test227 +++ b/tests/data/test227 @@ -18,6 +18,9 @@ that FTP works so does it? + +REPLY EPSV 500 no such command + # Client-side @@ -31,9 +34,6 @@ FTP with quote ops ftp://%HOSTIP:%FTPPORT/227 -Q "NOOP 1" -Q "+NOOP 2" -Q "-NOOP 3" - -REPLY EPSV 500 no such command - # Verify data after the test has been "shot" diff --git a/tests/data/test228 b/tests/data/test228 index 0c4e0a069..4a4a295c4 100644 --- a/tests/data/test228 +++ b/tests/data/test228 @@ -16,6 +16,10 @@ that FTP works so does it? + +REPLY PASS 332 please provide account name +REPLY ACCT 230 thank you + # Client-side @@ -29,10 +33,6 @@ FTP RETR with ACCT ftp://%HOSTIP:%FTPPORT/228 --ftp-account "one count" - -REPLY PASS 332 please provide account name -REPLY ACCT 230 thank you - diff --git a/tests/data/test229 b/tests/data/test229 index f036f245c..dffcc1110 100644 --- a/tests/data/test229 +++ b/tests/data/test229 @@ -9,6 +9,10 @@ compressed # Server-side + +REPLY PASS 332 please provide account name +REPLY ACCT 532 bluah! + # Client-side @@ -22,10 +26,6 @@ FTP RETR with bad ACCT ftp://%HOSTIP:%FTPPORT/229 --ftp-account "one count" - -REPLY PASS 332 please provide account name -REPLY ACCT 532 bluah! - # Verify data after the test has been "shot" diff --git a/tests/data/test235 b/tests/data/test235 index b6981f76d..ee843f141 100644 --- a/tests/data/test235 +++ b/tests/data/test235 @@ -23,8 +23,6 @@ worx? # Verify data after the test has been "shot" - - USER anonymous PASS ftp@example.com diff --git a/tests/data/test236 b/tests/data/test236 index b92c0a65d..20d047038 100644 --- a/tests/data/test236 +++ b/tests/data/test236 @@ -1,4 +1,14 @@ + +# Server-side + + +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 + + + # Client-side @@ -8,12 +18,10 @@ ftp FTP resume upload but denied access to remote file -ftp://%HOSTIP:%FTPPORT/236 -T log/ftpserver.cmd -C - +ftp://%HOSTIP:%FTPPORT/236 -T log/file236.txt -C - - -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 + +Test data diff --git a/tests/data/test237 b/tests/data/test237 index 7a020ab05..9675a1e44 100644 --- a/tests/data/test237 +++ b/tests/data/test237 @@ -1,6 +1,9 @@ # Server-side + +REPLY PASV 227 Entering Passiv Mode (1216,256,2,127,127,127) + # Client-side @@ -14,9 +17,6 @@ FTP getting bad host in 227-response to PASV ftp://%HOSTIP:%FTPPORT/237 --disable-epsv - -REPLY PASV 227 Entering Passiv Mode (1216,256,2,127,127,127) - # Verify data after the test has been "shot" diff --git a/tests/data/test238 b/tests/data/test238 index 6f2bad051..6397e3b27 100644 --- a/tests/data/test238 +++ b/tests/data/test238 @@ -1,6 +1,10 @@ # Server-side + +REPLY EPSV 229 Entering Passiv Mode (|||1000000|) +REPLY PASV 227 Entering Passiv Mode (1216,256,2,127,127,127) + # Client-side @@ -14,10 +18,6 @@ FTP getting bad port in response to EPSV and in response to PASV ftp://%HOSTIP:%FTPPORT/238 - -REPLY EPSV 229 Entering Passiv Mode (|||1000000|) -REPLY PASV 227 Entering Passiv Mode (1216,256,2,127,127,127) - # Verify data after the test has been "shot" diff --git a/tests/data/test250 b/tests/data/test250 index a6d5d1cda..2c99c46ee 100644 --- a/tests/data/test250 +++ b/tests/data/test250 @@ -39,9 +39,6 @@ ftp://%HOSTIP:%FTPPORT/ # # Verify data after the test has been "shot" - -filter off really nothing - USER anonymous PASS ftp@example.com diff --git a/tests/data/test252 b/tests/data/test252 index 0cbe73fa5..99d021a6e 100644 --- a/tests/data/test252 +++ b/tests/data/test252 @@ -45,9 +45,6 @@ FTP IPv6 dir list PASV # # Verify data after the test has been "shot" - -filter off really nothing - USER anonymous PASS ftp@example.com diff --git a/tests/data/test254 b/tests/data/test254 index b6227c7eb..19ae36389 100644 --- a/tests/data/test254 +++ b/tests/data/test254 @@ -46,9 +46,6 @@ FTP IPv6 dir list PASV and --disable-epsv # # Verify data after the test has been "shot" - -filter off really nothing - USER anonymous PASS ftp@example.com diff --git a/tests/data/test261 b/tests/data/test261 index 896d032e2..e3639bfe9 100644 --- a/tests/data/test261 +++ b/tests/data/test261 @@ -34,9 +34,6 @@ ftp://%HOSTIP:%FTPPORT/261 # # Verify data after the test has been "shot" - -filter off really nothing - USER anonymous PASS ftp@example.com diff --git a/tests/data/test280 b/tests/data/test280 index b1b057137..c16999376 100644 --- a/tests/data/test280 +++ b/tests/data/test280 @@ -48,9 +48,6 @@ ftp://%HOSTIP:%FTPPORT/280/ --ftp-alternative-to-user "USER replacement" # # Verify data after the test has been "shot" - -filter off really nothing - USER anonymous USER replacement diff --git a/tests/data/test290 b/tests/data/test290 index 82477cba0..6078a2ac7 100644 --- a/tests/data/test290 +++ b/tests/data/test290 @@ -30,8 +30,6 @@ ftp://%HOSTIP:%FTPPORT/290 --max-filesize 30 63 - - USER anonymous PASS ftp@example.com diff --git a/tests/data/test302 b/tests/data/test302 index bb48e9e46..c989b7263 100644 --- a/tests/data/test302 +++ b/tests/data/test302 @@ -1,11 +1,4 @@ -# -# Server-side - -MOOOOO - - -# # Client-side @@ -31,10 +24,7 @@ HTTPS GET over HTTP proxy fails ^User-Agent:.* - - -[insert full protocol verifiction dump here] diff --git a/tests/data/test305 b/tests/data/test305 index 4f77334bb..cfd210da9 100644 --- a/tests/data/test305 +++ b/tests/data/test305 @@ -1,10 +1,4 @@ -# Server-side - - - - - # Client-side @@ -26,8 +20,6 @@ https://%HOSTIP:%HTTPSPORT/want/305 --cacert moooo ^User-Agent:.* - - 77 diff --git a/tests/data/test400 b/tests/data/test400 index 1a8278348..75d59791e 100644 --- a/tests/data/test400 +++ b/tests/data/test400 @@ -46,9 +46,6 @@ FTPS dir list PASV unencrypted data # # Verify data after the test has been "shot" - -filter off really nothing - USER anonymous PASS ftp@example.com diff --git a/tests/data/test402 b/tests/data/test402 index b85822a9b..272c4e309 100644 --- a/tests/data/test402 +++ b/tests/data/test402 @@ -27,8 +27,6 @@ FTP SSL required on non-SSL server 64 - - AUTH SSL AUTH TLS diff --git a/tests/data/test511 b/tests/data/test511 index f7f73b6c5..81fe657f9 100644 --- a/tests/data/test511 +++ b/tests/data/test511 @@ -2,6 +2,10 @@ # # Server-side + +REPLY MDTM 550 bluah you f00l! +REPLY SIZE 550 bluah you f00l! + # Client-side @@ -20,10 +24,6 @@ FTP with FILETIME and NOBODY but missing file ftp://%HOSTIP:%FTPPORT/511 - -REPLY MDTM 550 bluah you f00l! -REPLY SIZE 550 bluah you f00l! - # diff --git a/tests/data/test520 b/tests/data/test520 index ad2b8f5e6..0938b5802 100644 --- a/tests/data/test520 +++ b/tests/data/test520 @@ -5,6 +5,9 @@ contents of file + +REPLY MDTM 213 20030405060708 + # Client-side @@ -23,9 +26,6 @@ FTP RETR with FILETIME ftp://%HOSTIP:%FTPPORT/520 - -REPLY MDTM 213 20030405060708 - # diff --git a/tests/data/test521 b/tests/data/test521 index 012ea18a9..57f413f7a 100644 --- a/tests/data/test521 +++ b/tests/data/test521 @@ -46,9 +46,6 @@ ftp://%HOSTIP/520/ %FTPPORT # # Verify data after the test has been "shot" - -filter off really nothing - USER xxx PASS yyy diff --git a/tests/data/test526 b/tests/data/test526 index 1cd3e6a73..636edebea 100644 --- a/tests/data/test526 +++ b/tests/data/test526 @@ -37,8 +37,6 @@ ftp://%HOSTIP:%FTPPORT/path/526 # Verify data after the test has been "shot" - - USER anonymous PASS ftp@example.com diff --git a/tests/data/test527 b/tests/data/test527 index ed89a4553..fc661692b 100644 --- a/tests/data/test527 +++ b/tests/data/test527 @@ -37,8 +37,6 @@ ftp://%HOSTIP:%FTPPORT/path/527 # Verify data after the test has been "shot" - - USER anonymous PASS ftp@example.com diff --git a/tests/data/test528 b/tests/data/test528 index 1079491d1..bf13e923b 100644 --- a/tests/data/test528 +++ b/tests/data/test528 @@ -40,8 +40,6 @@ http://%HOSTIP:%HTTPPORT/path/528 # Verify data after the test has been "shot" - - GET /path/528 HTTP/1.1 Host: %HOSTIP:%HTTPPORT diff --git a/tests/data/test530 b/tests/data/test530 index 5586d6e91..80efe465f 100644 --- a/tests/data/test530 +++ b/tests/data/test530 @@ -56,8 +56,6 @@ http://%HOSTIP:%HTTPPORT/path/530 # Verify data after the test has been "shot" - - GET /path/530 HTTP/1.1 Host: %HOSTIP:%HTTPPORT diff --git a/tests/data/test532 b/tests/data/test532 index d80a53ae4..dec8ae398 100644 --- a/tests/data/test532 +++ b/tests/data/test532 @@ -37,8 +37,6 @@ ftp://%HOSTIP:%FTPPORT/path/532 # Verify data after the test has been "shot" - - USER anonymous PASS ftp@example.com diff --git a/tests/data/test533 b/tests/data/test533 index 1d62dc6bb..fec57a139 100644 --- a/tests/data/test533 +++ b/tests/data/test533 @@ -35,8 +35,6 @@ ftp://%HOSTIP:%FTPPORT/path/533 ftp://%HOSTIP:%FTPPORT/path/533 # Verify data after the test has been "shot" - - USER anonymous PASS ftp@example.com diff --git a/tests/data/test534 b/tests/data/test534 index 7f52b69c4..5aae610cb 100644 --- a/tests/data/test534 +++ b/tests/data/test534 @@ -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" - - USER anonymous PASS ftp@example.com diff --git a/tests/data/test538 b/tests/data/test538 index e97b69df4..070599dad 100644 --- a/tests/data/test538 +++ b/tests/data/test538 @@ -5,8 +5,12 @@ FTP FAILURE + # Server-side + +REPLY PASS 314 bluah you f00l! + # Client-side @@ -24,9 +28,6 @@ FTP multi-interface download, failed login: PASS not valid ftp://%HOSTIP:%FTPPORT/538 - -REPLY PASS 314 bluah you f00l! - # Verify data after the test has been "shot" -- cgit v1.2.3