diff --git a/tests/data/test100 b/tests/data/test100
index 6e0f734ac74cf118a40e89a030fc34991f0b1e0f..72f9c85620f72152749b2c6f652c0219aa917d66 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 815292b2cb337c4dce2cf8592b2bbd8b8f549174..09faade2db2a9054a2b2eac32b960aa9ff82a9a0 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 dcc46fc8f559c82c04346e53677064276457dcf8..827b1a0a2003c1bc43b41709626460feaf6f7c3b 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 86501c627f62f17ea75ea8ea0ce1ccb3adafe0a7..6e99d8a86f2007345de6b9d05d7ac9b6831abb5a 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 ed96953bb36f68abdf026ac2e5b737303c885e5e..51cb89c9ccbbc95e10c77757647f8b4bd6cfd171 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 085092d01bf2249aa64e0b96dfd48db3dc9e2319..0b4d2ff70b96f7ddd9ee795021507de76c3b0a9c 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 8a3ba62042d73b9e17b8843a5c972870aeeed7ae..e314b662e95e94d2135f9225876a93dd6816729b 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 8770efbc9e531ebbab6a29b7310eda0546b3d4b4..987fd990aa23a8a37d065d93fb48d40130a0ad1b 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 aeed134797ccea1eabc0d119be9ceadfe17b7508..3d0a8f3a0543040dd3b11514d4a3379cdbafb5b3 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 d50e1b3e21c06070aee6a2c307aa792b9743b0de..cc8cbfa0a4f323a3997b589f91aefd60a02ea116 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 c1699937635c05d2e13267a7a3ededc411ce0492..de7534e7b275550952fc5c082bd57ce2bd7fa42a 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 4d7f2b8e90f46245f436e77abf506f04304c7b3d..a9752a278ec41c4983f280236c6b36098c26fd08 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 9c22d307c608f89091b6b35e94118dbf40f6f16c..6cb53fa11f14f92dcaef3fa34f961a791a2a45d1 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 5d44a647f4098ad157745ca93769f9e09427823f..219677f781473e600f4268e5b4ff9f6456a916e5 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 d86889448480dececf57c3d3753015cbe81a0717..5f498a23b7d442b68f06c8767b92db3d6ca33ae6 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 417b8c3eaa1271afb7ed89fa4cf0fb3e91877fa1..1adee379bdfb1c6a281585cad2e66d9555199365 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 9bc5501f47ad3a5788f5740e7efe61e783560fb9..90f51b38d3a058eb06ba7af997589bddfc214314 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 15da79418b04b07d958887caefc27c26db2c4b98..593fcac1a7f502bfa9eedac4b3e4ba0e54149e6f 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 .