From 02892e4fd8c1faff74edd2ce7e232b0c8442c5c9 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 9 Apr 2010 16:54:52 +0200 Subject: 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. --- tests/data/test227 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests/data') 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 REPLY EPSV 500 no such command +REPLY FAIL 500 this might not be a failure! @@ -31,7 +32,7 @@ ftp FTP with quote ops -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" @@ -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 -- cgit v1.2.3