cURL / Mailing Lists / curl-library / Single Mail

curl-library

[PATCH 4/4] FTP tests: enable text-mode for data and datacheck sections

From: Marc Hoersken <info_at_marc-hoersken.de>
Date: Sun, 26 Jan 2014 11:32:44 +0100

---
 tests/data/test100 | 2 +-
 tests/data/test101 | 2 +-
 tests/data/test130 | 2 +-
 tests/data/test131 | 2 +-
 tests/data/test132 | 2 +-
 tests/data/test133 | 2 +-
 tests/data/test134 | 2 +-
 tests/data/test215 | 2 +-
 tests/data/test250 | 2 +-
 tests/data/test251 | 2 +-
 tests/data/test280 | 2 +-
 tests/data/test294 | 2 +-
 tests/data/test350 | 2 +-
 tests/data/test351 | 2 +-
 tests/data/test352 | 2 +-
 tests/data/test353 | 2 +-
 tests/data/test521 | 2 +-
 tests/data/test539 | 2 +-
 18 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/tests/data/test100 b/tests/data/test100
index 6e0f734..72f9c85 100644
--- a/tests/data/test100
+++ b/tests/data/test100
@@ -11,7 +11,7 @@ LIST
 <reply>
 # When doing LIST, we get the default list output hard-coded in the test
 # FTP server
-<data>
+<data 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 ..
diff --git a/tests/data/test101 b/tests/data/test101
index 815292b..09faade 100644
--- a/tests/data/test101
+++ b/tests/data/test101
@@ -10,7 +10,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 ..
diff --git a/tests/data/test130 b/tests/data/test130
index dcc46fc..827b1a0 100644
--- a/tests/data/test130
+++ b/tests/data/test130
@@ -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 ..
diff --git a/tests/data/test131 b/tests/data/test131
index 86501c6..6e99d8a 100644
--- a/tests/data/test131
+++ b/tests/data/test131
@@ -13,7 +13,7 @@ netrc
 #
 # 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 ..
diff --git a/tests/data/test132 b/tests/data/test132
index ed96953..51cb89c 100644
--- a/tests/data/test132
+++ b/tests/data/test132
@@ -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 ..
diff --git a/tests/data/test133 b/tests/data/test133
index 085092d..0b4d2ff 100644
--- a/tests/data/test133
+++ b/tests/data/test133
@@ -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 ..
diff --git a/tests/data/test134 b/tests/data/test134
index 8a3ba62..e314b66 100644
--- a/tests/data/test134
+++ b/tests/data/test134
@@ -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 ..
diff --git a/tests/data/test215 b/tests/data/test215
index 8770efb..987fd99 100644
--- a/tests/data/test215
+++ b/tests/data/test215
@@ -9,7 +9,7 @@ FTP
 <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 ..
diff --git a/tests/data/test250 b/tests/data/test250
index aeed134..3d0a8f3 100644
--- a/tests/data/test250
+++ b/tests/data/test250
@@ -10,7 +10,7 @@ FTP
 <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 ..
diff --git a/tests/data/test251 b/tests/data/test251
index d50e1b3..cc8cbfa 100644
--- a/tests/data/test251
+++ b/tests/data/test251
@@ -9,7 +9,7 @@ FTP
 <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 ..
diff --git a/tests/data/test280 b/tests/data/test280
index c169993..de7534e 100644
--- a/tests/data/test280
+++ b/tests/data/test280
@@ -12,7 +12,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 ..
diff --git a/tests/data/test294 b/tests/data/test294
index 4d7f2b8..a9752a2 100644
--- a/tests/data/test294
+++ b/tests/data/test294
@@ -13,7 +13,7 @@ ACCT
 <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 ..
diff --git a/tests/data/test350 b/tests/data/test350
index 9c22d30..6cb53fa 100644
--- a/tests/data/test350
+++ b/tests/data/test350
@@ -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 ..
diff --git a/tests/data/test351 b/tests/data/test351
index 5d44a64..219677f 100644
--- a/tests/data/test351
+++ b/tests/data/test351
@@ -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 ..
diff --git a/tests/data/test352 b/tests/data/test352
index d868894..5f498a2 100644
--- a/tests/data/test352
+++ b/tests/data/test352
@@ -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 ..
diff --git a/tests/data/test353 b/tests/data/test353
index 417b8c3..1adee37 100644
--- a/tests/data/test353
+++ b/tests/data/test353
@@ -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 ..
diff --git a/tests/data/test521 b/tests/data/test521
index 9bc5501..90f51b3 100644
--- a/tests/data/test521
+++ b/tests/data/test521
@@ -11,7 +11,7 @@ CURLOPT_PORT
 <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 ..
diff --git a/tests/data/test539 b/tests/data/test539
index 15da794..593fcac 100644
--- a/tests/data/test539
+++ b/tests/data/test539
@@ -12,7 +12,7 @@ FTP
 file contents
 </data>
 
-<datacheck>
+<datacheck mode="text">
 file contents
 total 20
 drwxr-xr-x   8 98       98           512 Oct 22 13:06 .
-- 
1.8.1.msysgit.1
--------------010500040702000407000504
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
--------------010500040702000407000504--
Received on 2001-09-17