aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2013-04-06 17:49:58 +0200
committerDaniel Stenberg <daniel@haxx.se>2013-04-06 17:51:03 +0200
commit18f0ab7bd353289049ca06c4a7105473e37a8f20 (patch)
treeece4f0d5691df139761f013625b06b8f23322f5f
parent57aeabcc1a20ff8ed1d725ef0309d0d8f64194d8 (diff)
ftp tests: libcurl returns CURLE_FTP_ACCEPT_FAILED better now
Since commit 57aeabcc1a20f, it handles errors on the control connection while waiting for the data connection better. Test 591 and 592 are updated accordingly.
-rw-r--r--tests/data/test5914
-rw-r--r--tests/data/test5925
2 files changed, 5 insertions, 4 deletions
diff --git a/tests/data/test591 b/tests/data/test591
index 42a227112..1455a38e1 100644
--- a/tests/data/test591
+++ b/tests/data/test591
@@ -63,9 +63,9 @@ TYPE I
STOR 591
QUIT
</protocol>
-# CURLE_UPLOAD_FAILED = 25
+# CURLE_FTP_ACCEPT_FAILED = 10
<errorcode>
-25
+10
</errorcode>
<upload>
</upload>
diff --git a/tests/data/test592 b/tests/data/test592
index 23aa6c465..f44320577 100644
--- a/tests/data/test592
+++ b/tests/data/test592
@@ -62,10 +62,11 @@ EPRT |1|
PORT
TYPE I
STOR 592
+QUIT
</protocol>
-# 28 == CURLE_OPERATION_TIMEDOUT
+# CURLE_FTP_ACCEPT_FAILED = 10
<errorcode>
-28
+10
</errorcode>
<upload>
</upload>