diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-11-25 22:38:13 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-11-25 22:49:49 +0100 |
commit | ac54d27d4bdbd49332cf3914fc726c24c155cbf7 (patch) | |
tree | 2bc878ddfcc72f850fd8cda544a285835b20e64f /tests/data/test1207 | |
parent | 2d833852f6606a1b6e1a88aeccebba04a3ab5773 (diff) |
FTP tests 1206 - 1209: don't expect QUIT
The protocol parts for these tests do not include QUIT simply because
the error is CURLE_OPERATION_TIMEDOUT (28) which is a generic timeout
error without specificly saying for which connection it concerns, and
for timeouts libcurl marks the control channel as "invalid". As this
test case times out for the data connection it could still use the
control channel.
Diffstat (limited to 'tests/data/test1207')
-rw-r--r-- | tests/data/test1207 | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/data/test1207 b/tests/data/test1207 index acc6427b7..6ca713196 100644 --- a/tests/data/test1207 +++ b/tests/data/test1207 @@ -36,6 +36,12 @@ FTP PORT and 421 on download <strippart> s/^EPRT \|1\|(.*)/EPRT \|1\|/ </strippart> + +# The protocol part does not include QUIT simply because the error is +# CURLE_OPERATION_TIMEDOUT (28) which is a generic timeout error without +# specificly saying for which connection it concerns, and for timeouts libcurl +# marks the control channel as "invalid". As this test case times out for the +# data connection it could still use the control channel. <protocol> USER anonymous
PASS ftp@example.com
@@ -44,10 +50,9 @@ EPRT |1| TYPE I
SIZE 1207
RETR 1207
-QUIT
</protocol> <errorcode> -19 +28 </errorcode> </verify> </testcase> |