aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorgsengun <gokhansengun@gmai.com>2012-01-07 23:13:57 +0200
committerDaniel Stenberg <daniel@haxx.se>2012-01-09 22:50:20 +0100
commitd28411c3cc5854a5c1665e14eee131a25ad420fb (patch)
treea2101e65c68e21b04d8a8b38e2f86e917a6f8efc /tests
parent2705af626795cc966ca94ca72529119911c61f1f (diff)
FTP: CURLE_PARTIAL_FILE should not cause control connection to be closed
Test 161 updated accordingly
Diffstat (limited to 'tests')
-rw-r--r--tests/data/test16112
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/data/test161 b/tests/data/test161
index bc6820ce1..045835998 100644
--- a/tests/data/test161
+++ b/tests/data/test161
@@ -1,5 +1,12 @@
<testcase>
-# Server-side
+<info>
+<keywords>
+FTP
+CURLE_PARTIAL_FILE
+RETR
+PASV
+</keywords>
+</info>
<reply>
<data>
1oooooooooooooooooooooooooooooooooooooooooo2
@@ -25,6 +32,8 @@ ftp://%HOSTIP:%FTPPORT/161
# Verify data after the test has been "shot"
<verify>
+# This gets QUIT sent because CURLE_PARTIAL_FILE does NOT mark the control
+# connection as bad
<protocol>
USER anonymous
PASS ftp@example.com
@@ -33,6 +42,7 @@ EPSV
TYPE I
SIZE 161
RETR 161
+QUIT
</protocol>
<errorcode>
18