diff options
author | Daniel Stenberg <daniel@haxx.se> | 2010-04-09 16:54:52 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-04-09 16:54:52 +0200 |
commit | 02892e4fd8c1faff74edd2ce7e232b0c8442c5c9 (patch) | |
tree | 0a1c7ce3e1ea0181bd1bf382388b738f2b5d573d /tests | |
parent | 10977f57de0d2426f479ef4d36f8a203488fdda7 (diff) |
FTP quote commands prefixed with '*' now can fail without aborting
Prefixing the FTP quote commands with an asterisk really only
worked for the postquote actions. This is now fixed and test case
227 has been extended to verify.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/test227 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/data/test227 b/tests/data/test227 index 55a24e108..523fa0253 100644 --- a/tests/data/test227 +++ b/tests/data/test227 @@ -19,6 +19,7 @@ works </data> <servercmd> REPLY EPSV 500 no such command +REPLY FAIL 500 this might not be a failure! </servercmd> </reply> @@ -31,7 +32,7 @@ ftp FTP with quote ops </name> <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" -Q "*FAIL" -Q "+*FAIL HARD" </command> </client> @@ -42,10 +43,12 @@ USER anonymous PASS ftp@example.com
PWD
NOOP 1
+FAIL
EPSV
PASV
TYPE I
NOOP 2
+FAIL HARD
SIZE 227
RETR 227
NOOP 3
|