Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test130
index dcc46fc..097f750 100644 (file)
@@ -12,7 +12,7 @@ netrc
 <reply>
 # When doing LIST, we get the default list output hard-coded in the test
 # FTP server
-<datacheck>
+<datacheck mode="text">
 total 20
 drwxr-xr-x   8 98       98           512 Oct 22 13:06 .
 drwxr-xr-x   8 98       98           512 Oct 22 13:06 ..
@@ -41,8 +41,10 @@ FTP (optional .netrc; no user/pass) dir list PASV
 </command>
 <file name="log/netrc130" >
 # the following two lines were created while testing curl
+# machine %HOSTIP login user1 password commented
 machine %HOSTIP login user1 password passwd1
 machine %HOSTIP login user2 password passwd2
+default login userdef password passwddef
 </file>
 </client>
 
@@ -50,13 +52,13 @@ machine %HOSTIP login user2 password passwd2
 # Verify data after the test has been "shot"
 <verify>
 <protocol>
-USER user1\r
-PASS passwd1\r
-PWD\r
-EPSV\r
-TYPE A\r
-LIST\r
-QUIT\r
+USER user1
+PASS passwd1
+PWD
+EPSV
+TYPE A
+LIST
+QUIT
 </protocol>
 </verify>
 </testcase>