]> granicus.if.org Git - curl/commitdiff
FTP tests: enable text-mode for more datacheck sections
authorMarc Hoersken <info@marc-hoersken.de>
Sat, 1 Feb 2014 12:43:19 +0000 (13:43 +0100)
committerMarc Hoersken <info@marc-hoersken.de>
Sat, 1 Feb 2014 12:43:19 +0000 (13:43 +0100)
tests/data/test1010
tests/data/test1047
tests/data/test1316

index 1f8bf3a8e7e32ace3a213497a72b2558d1fd7f74..a51d68ab30f52c36170d8e50b5b63fd6d5dbc0ff 100644 (file)
@@ -11,7 +11,7 @@ LIST
 <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 ..
index 421708cc4ff57f0ea8a2dd63849b31c57ae8fc89..028a8a6cc58d79c8a05ecd2beb99e61e83dd540a 100644 (file)
@@ -13,7 +13,7 @@ LIST
 <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 ..
index a7b10b6daa65713f3bb02a289ef5ee46bda68feb..d6ea5e180afab4655048f9dcde48e47d28593a12 100644 (file)
@@ -21,13 +21,13 @@ Magic: sure you can FTP me
 
 # When doing LIST, we get the default list output hard-coded in the test
 # FTP server
-<datacheck>
+<datacheck mode="text">
+HTTP/1.1 200 Mighty fine indeed\r
+Magic: sure you can FTP me\r
+\r
 HTTP/1.1 200 Mighty fine indeed\r
 Magic: sure you can FTP me\r
 \r
-HTTP/1.1 200 Mighty fine indeed
-Magic: sure you can FTP me
-
 total 20
 drwxr-xr-x   8 98       98           512 Oct 22 13:06 .
 drwxr-xr-x   8 98       98           512 Oct 22 13:06 ..