]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
test1010: verify that #1718 is fixed
authorDaniel Stenberg <daniel@haxx.se>
Thu, 3 Aug 2017 21:50:02 +0000 (23:50 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 4 Aug 2017 08:01:23 +0000 (10:01 +0200)
... by doing two transfers in nocwd mode and check that there's no
superfluous CWD command.

tests/data/test1010

index a51d68ab30f52c36170d8e50b5b63fd6d5dbc0ff..b2083af7b625c319d8a037e1cd364a7926bd7050 100644 (file)
@@ -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\r
 TYPE A\r
 LIST /list/this/path/1010/\r
+EPSV\r
+LIST /list/this/path/1010/\r
 QUIT\r
 </protocol>
 </verify>