summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-08-03 23:50:02 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-08-03 23:50:02 +0200
commit5acdb8dc4dff356954693ccc074eecafe058f0ef (patch)
treeaa618a1fe03944c4f1e1cf8b63fcbcd462329558
parentb890ce4e13b0688f60a4b77f45fde749aa6f032f (diff)
downloadcurl-bagder/ftp-nocwd-fix.tar.gz
test1010: verify that #1718 is fixedbagder/ftp-nocwd-fix
... by doing two transfers in nocwd mode and check that there's no superfluous CWD command.
-rw-r--r--tests/data/test10104
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/data/test1010 b/tests/data/test1010
index a51d68ab3..b2083af7b 100644
--- a/tests/data/test1010
+++ b/tests/data/test1010
@@ -36,7 +36,7 @@ ftp
FTP dir list nocwd
</name>
<command>
-ftp://%HOSTIP:%FTPPORT//list/this/path/1010/ --ftp-method nocwd
+ftp://%HOSTIP:%FTPPORT//list/this/path/1010/ ftp://%HOSTIP:%FTPPORT//list/this/path/1010/ --ftp-method nocwd
</command>
</client>
@@ -50,6 +50,8 @@ PWD
EPSV
TYPE A
LIST /list/this/path/1010/
+EPSV
+LIST /list/this/path/1010/
QUIT
</protocol>
</verify>