Revert "Update to 7.40.1"
[platform/upstream/curl.git] / tests / data / test574
index 9d50045..c158448 100644 (file)
@@ -2,6 +2,8 @@
 <info>
 <keywords>
 FTP
+LIST
+RETR
 wildcardmatch
 ftplistparser
 </keywords>
@@ -36,26 +38,51 @@ ftp://%HOSTIP:%FTPPORT/fully_simulated/UNIX/*.txt
 <errorcode>
 0
 </errorcode>
-<strip>
-^RETR.*
-^EPSV.*
-^PWD.*
-^CWD.*
-^TYPE.*
-^LIST.*
-</strip>
-<strippart>
-s/USER.*/USER/
-s/PASS.*/PASS/
-s/QUIT.*/QUIT/
-</strippart>
-# THERE SHOULD NOT BE "SIZE"! and once "USER && PASS"
+# THERE SHOULD NOT BE "SIZE"! and one "USER/PASS"
 <protocol>
-USER
-PASS
-QUIT
+USER anonymous\r
+PASS ftp@example.com\r
+PWD\r
+CWD fully_simulated\r
+CWD UNIX\r
+EPSV\r
+TYPE A\r
+LIST\r
+EPSV\r
+TYPE I\r
+RETR chmod1\r
+EPSV\r
+RETR chmod2\r
+EPSV\r
+RETR chmod3\r
+EPSV\r
+RETR empty_file.dat\r
+EPSV\r
+RETR file.txt\r
+EPSV\r
+RETR someothertext.txt\r
+CWD /\r
+CWD fully_simulated\r
+CWD UNIX\r
+EPSV\r
+TYPE A\r
+LIST\r
+EPSV\r
+TYPE I\r
+RETR chmod1\r
+EPSV\r
+RETR chmod2\r
+EPSV\r
+RETR chmod3\r
+EPSV\r
+RETR empty_file.dat\r
+EPSV\r
+RETR file.txt\r
+EPSV\r
+RETR someothertext.txt\r
+QUIT\r
 </protocol>
-<stdout mode="text">
+<stdout>
 This file should have permissions 444
 This file should have permissions 666
 This file should have permissions 777