summaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2014-02-01 00:58:58 +0100
committerMarc Hoersken <info@marc-hoersken.de>2014-02-14 20:12:27 +0100
commit75f00de55c6e8adc513f9ee32383b11e23106a40 (patch)
treedec52068788034aa173e68d4c220dabfac4454ba /tests/data
parent69745aaa45634308c1dca29cbb7881001c6efc5d (diff)
downloadcurl-75f00de55c6e8adc513f9ee32383b11e23106a40.tar.gz
testsuite: use binary output mode for custom curl test tools
Do not try to convert line-endings to CRLF on Windows by setting stdout to binary mode, just like the curl tool does if --ascii is not specified. This should prevent corrupted stdout line-ending output like CRCRLF. In order to make the previously naive text-aware tests work with binary mode on Windows, text-mode is disabled for them if it is not actually part of the test case and line-endings are corrected.
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/test15082
-rw-r--r--tests/data/test19002
-rw-r--r--tests/data/test19012
-rw-r--r--tests/data/test19022
-rw-r--r--tests/data/test19032
-rw-r--r--tests/data/test50026
-rw-r--r--tests/data/test5022
-rw-r--r--tests/data/test5062
-rw-r--r--tests/data/test50814
-rw-r--r--tests/data/test5092
-rw-r--r--tests/data/test51014
-rw-r--r--tests/data/test5122
-rw-r--r--tests/data/test51424
-rw-r--r--tests/data/test51512
-rw-r--r--tests/data/test51612
-rw-r--r--tests/data/test5172
-rw-r--r--tests/data/test51942
-rw-r--r--tests/data/test5222
-rw-r--r--tests/data/test5232
-rw-r--r--tests/data/test53528
-rw-r--r--tests/data/test53628
-rw-r--r--tests/data/test5392
-rw-r--r--tests/data/test5432
-rw-r--r--tests/data/test54412
-rw-r--r--tests/data/test545bin802 -> 795 bytes
-rw-r--r--tests/data/test5492
-rw-r--r--tests/data/test5502
-rw-r--r--tests/data/test55414
-rw-r--r--tests/data/test5572
-rw-r--r--tests/data/test5582
-rw-r--r--tests/data/test5612
-rw-r--r--tests/data/test56626
-rw-r--r--tests/data/test5712
-rw-r--r--tests/data/test5742
-rw-r--r--tests/data/test5752
-rw-r--r--tests/data/test5762
-rw-r--r--tests/data/test57826
-rw-r--r--tests/data/test5792
-rw-r--r--tests/data/test58466
-rw-r--r--tests/data/test59838
40 files changed, 215 insertions, 215 deletions
diff --git a/tests/data/test1508 b/tests/data/test1508
index f8607e58a..b276b8b31 100644
--- a/tests/data/test1508
+++ b/tests/data/test1508
@@ -24,7 +24,7 @@ http://%HOSTIP:%HTTPPORT/path/1508
# Verify data after the test has been "shot"
<verify>
-<file name="log/stdout1508" mode="text">
+<file name="log/stdout1508">
We are done
</file>
</verify>
diff --git a/tests/data/test1900 b/tests/data/test1900
index 699fb513a..04c59a826 100644
--- a/tests/data/test1900
+++ b/tests/data/test1900
@@ -9,7 +9,7 @@ multi
# Server-side
<reply>
-<data mode="text">
+<data>
Adding handle 0
Handle 0 Completed with status 0
Adding handle 1
diff --git a/tests/data/test1901 b/tests/data/test1901
index 4967af39b..c087cc384 100644
--- a/tests/data/test1901
+++ b/tests/data/test1901
@@ -9,7 +9,7 @@ multi
# Server-side
<reply>
-<data mode="text">
+<data>
Adding handle 0
Handle 0 Completed with status 0
Adding handle 1
diff --git a/tests/data/test1902 b/tests/data/test1902
index 017a9fe37..a634c46af 100644
--- a/tests/data/test1902
+++ b/tests/data/test1902
@@ -9,7 +9,7 @@ multi
# Server-side
<reply>
-<data mode="text">
+<data>
Adding handle 0
Handle 0 Completed with status 0
Adding handle 1
diff --git a/tests/data/test1903 b/tests/data/test1903
index 6a5e86b86..79cae0266 100644
--- a/tests/data/test1903
+++ b/tests/data/test1903
@@ -9,7 +9,7 @@ multi
# Server-side
<reply>
-<data mode="text">
+<data>
Adding handle 0
Handle 0 Completed with status 0
Adding handle 1
diff --git a/tests/data/test500 b/tests/data/test500
index f9b17f37c..faf3d7271 100644
--- a/tests/data/test500
+++ b/tests/data/test500
@@ -8,18 +8,18 @@ HTTP GET
#
# Server-side
<reply name="1">
-<data mode="text">
-HTTP/1.1 200 OK
-Date: Thu, 09 Nov 2010 14:49:00 GMT
-Server: test-server/fake
-Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
-ETag: "21025-dc7-39462498"
-Accept-Ranges: bytes
-Content-Length: 6
-Connection: close
-Content-Type: text/html
-Funny-head: yesyes
-
+<data>
+HTTP/1.1 200 OK
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake
+Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
+ETag: "21025-dc7-39462498"
+Accept-Ranges: bytes
+Content-Length: 6
+Connection: close
+Content-Type: text/html
+Funny-head: yesyes
+
-foo-
</data>
</reply>
@@ -45,7 +45,7 @@ http://%HOSTIP:%HTTPPORT/500 log/ip500
#
# Verify data after the test has been "shot"
<verify>
-<file name="log/ip500" mode="text">
+<file name="log/ip500">
IP: %HOSTIP
</file>
<protocol>
diff --git a/tests/data/test502 b/tests/data/test502
index f73a4eb30..f8d776b6c 100644
--- a/tests/data/test502
+++ b/tests/data/test502
@@ -7,7 +7,7 @@ FILE
#
# Server-side
<reply>
-<data mode="text">
+<data>
foo
bar swsclose
bar
diff --git a/tests/data/test506 b/tests/data/test506
index 630e81651..f9d2be4b4 100644
--- a/tests/data/test506
+++ b/tests/data/test506
@@ -72,7 +72,7 @@ http://%HOSTIP:%HTTPPORT/506
# Verify data after the test has been "shot"
<verify>
-<stdout mode="text">
+<stdout>
GLOBAL_INIT
SHARE_INIT
CURLSHOPT_LOCKFUNC
diff --git a/tests/data/test508 b/tests/data/test508
index 5cd4b8c34..44a8bb591 100644
--- a/tests/data/test508
+++ b/tests/data/test508
@@ -2,13 +2,13 @@
#
# Server-side
<reply>
-<data mode="text">
-HTTP/1.1 200 OK
-Date: Thu, 09 Nov 2010 14:49:00 GMT
-Server: test-server/fake swsclose
-Connection: close
-Content-Type: text/html
-
+<data>
+HTTP/1.1 200 OK
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake swsclose
+Connection: close
+Content-Type: text/html
+
hello
</data>
</reply>
diff --git a/tests/data/test509 b/tests/data/test509
index a6ee7474c..b467d65f8 100644
--- a/tests/data/test509
+++ b/tests/data/test509
@@ -28,7 +28,7 @@ nothing
#
# Verify data after the test has been "shot"
<verify>
-<stdout mode="text">
+<stdout>
seen custom_calloc()
seen custom_malloc()
seen custom_realloc()
diff --git a/tests/data/test510 b/tests/data/test510
index f1f1a3ceb..5ba0a7fe9 100644
--- a/tests/data/test510
+++ b/tests/data/test510
@@ -9,13 +9,13 @@ HTTP POST
#
# Server-side
<reply>
-<data mode="text">
-HTTP/1.1 200 OK
-Date: Thu, 09 Nov 2010 14:49:00 GMT
-Server: test-server/fake swsclose
-Connection: close
-Content-Type: text/html
-
+<data>
+HTTP/1.1 200 OK
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake swsclose
+Connection: close
+Content-Type: text/html
+
hello
</data>
</reply>
diff --git a/tests/data/test512 b/tests/data/test512
index ce644db6f..d259f40df 100644
--- a/tests/data/test512
+++ b/tests/data/test512
@@ -9,7 +9,7 @@ HTTP GET
#
# Server-side
<reply>
-<data mode="text">
+<data>
HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: yes
diff --git a/tests/data/test514 b/tests/data/test514
index a8e66eaad..ca37a5d65 100644
--- a/tests/data/test514
+++ b/tests/data/test514
@@ -8,18 +8,18 @@ HTTP HEAD
#
# Server-side
<reply>
-<data mode="text">
-HTTP/1.1 200 OK
-Date: Thu, 09 Nov 2010 14:49:00 GMT
-Server: test-server/fake
-Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
-ETag: "21025-dc7-39462498"
-Accept-Ranges: bytes
-Content-Length: 6
-Connection: close
-Content-Type: text/html
-Funny-head: yesyes
-
+<data>
+HTTP/1.1 200 OK
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake
+Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
+ETag: "21025-dc7-39462498"
+Accept-Ranges: bytes
+Content-Length: 6
+Connection: close
+Content-Type: text/html
+Funny-head: yesyes
+
</data>
</reply>
diff --git a/tests/data/test515 b/tests/data/test515
index d139f2948..526f1e136 100644
--- a/tests/data/test515
+++ b/tests/data/test515
@@ -8,12 +8,12 @@ HTTP POST
#
# Server-side
<reply>
-<data mode="text">
-HTTP/1.1 200 OK swsclose
-Date: Thu, 09 Nov 2010 14:49:00 GMT
-Server: test-server/fake
-Content-Length: 3
-
+<data>
+HTTP/1.1 200 OK swsclose
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake
+Content-Length: 3
+
OK
</data>
</reply>
diff --git a/tests/data/test516 b/tests/data/test516
index 93f21d6ef..9bc175bd4 100644
--- a/tests/data/test516
+++ b/tests/data/test516
@@ -9,12 +9,12 @@ HTTP POST
#
# Server-side
<reply>
-<data mode="text">
-HTTP/1.1 200 OK swsclose
-Date: Thu, 09 Nov 2010 14:49:00 GMT
-Server: test-server/fake
-Content-Length: 3
-
+<data>
+HTTP/1.1 200 OK swsclose
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake
+Content-Length: 3
+
OK
</data>
</reply>
diff --git a/tests/data/test517 b/tests/data/test517
index 7b703b467..f0cb5a8fd 100644
--- a/tests/data/test517
+++ b/tests/data/test517
@@ -25,7 +25,7 @@ nothing
#
# Verify data after the test has been "shot"
<verify>
-<stdout mode="text">
+<stdout>
0: Sun, 06 Nov 1994 08:49:37 GMT => 784111777
1: Sunday, 06-Nov-94 08:49:37 GMT => 784111777
2: Sun Nov 6 08:49:37 1994 => 784111777
diff --git a/tests/data/test519 b/tests/data/test519
index 1a9768d0e..b8ca9ab23 100644
--- a/tests/data/test519
+++ b/tests/data/test519
@@ -9,34 +9,34 @@ HTTP GET
#
# Server-side
<reply>
-<data mode="text">
-HTTP/1.1 200 OK swsbounce
-Date: Thu, 09 Nov 2010 14:49:00 GMT
-Server: test-server/fake
-Content-Length: 8
-
+<data>
+HTTP/1.1 200 OK swsbounce
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake
+Content-Length: 8
+
content
</data>
<data1>
-HTTP/1.1 200 OK swsclose
-Date: Thu, 09 Nov 2010 14:49:00 GMT
-Server: test-server/fake
-Content-Length: 9
-
+HTTP/1.1 200 OK swsclose
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake
+Content-Length: 9
+
content2
</data1>
<datacheck>
-HTTP/1.1 200 OK swsbounce
-Date: Thu, 09 Nov 2010 14:49:00 GMT
-Server: test-server/fake
-Content-Length: 8
-
+HTTP/1.1 200 OK swsbounce
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake
+Content-Length: 8
+
content
-HTTP/1.1 200 OK swsclose
-Date: Thu, 09 Nov 2010 14:49:00 GMT
-Server: test-server/fake
-Content-Length: 9
-
+HTTP/1.1 200 OK swsclose
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake
+Content-Length: 9
+
content2
</datacheck>
</reply>
diff --git a/tests/data/test522 b/tests/data/test522
index 5eb114bae..56d1f3be9 100644
--- a/tests/data/test522
+++ b/tests/data/test522
@@ -53,7 +53,7 @@ Host: %HOSTIP:%HTTPPORT
Accept: */*
</protocol>
-<stdout mode="text">
+<stdout>
hello
</stdout>
</verify>
diff --git a/tests/data/test523 b/tests/data/test523
index 22c421ec4..7d3db38ef 100644
--- a/tests/data/test523
+++ b/tests/data/test523
@@ -57,7 +57,7 @@ Accept: */*
Proxy-Connection: Keep-Alive
</protocol>
-<stdout mode="text">
+<stdout>
hello
</stdout>
</verify>
diff --git a/tests/data/test535 b/tests/data/test535
index 85515a1b2..6837d2a61 100644
--- a/tests/data/test535
+++ b/tests/data/test535
@@ -8,23 +8,23 @@ multi
</info>
<reply>
-<data mode="text">
-HTTP/1.1 404 Badness
-Date: Thu, 09 Nov 2010 14:49:00 GMT
-ETag: "21025-dc7-39462498"
-Content-Length: 6
-Content-Type: text/html
-Funny-head: yesyes
-
+<data>
+HTTP/1.1 404 Badness
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+ETag: "21025-dc7-39462498"
+Content-Length: 6
+Content-Type: text/html
+Funny-head: yesyes
+
hejsan
</data>
<data1>
-HTTP/1.1 200 Fine
-Date: Thu, 09 Nov 2010 14:49:00 GMT
-Content-Length: 13
-Connection: close
-Content-Type: text/html
-
+HTTP/1.1 200 Fine
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Content-Length: 13
+Connection: close
+Content-Type: text/html
+
fine content
</data1>
diff --git a/tests/data/test536 b/tests/data/test536
index 51cde158f..51ac9716f 100644
--- a/tests/data/test536
+++ b/tests/data/test536
@@ -9,23 +9,23 @@ multi
</info>
<reply>
-<data mode="text">
-HTTP/1.1 404 Badness
-Date: Thu, 09 Nov 2010 14:49:00 GMT
-ETag: "21025-dc7-39462498"
-Content-Length: 6
-Content-Type: text/html
-Funny-head: yesyes
-
+<data>
+HTTP/1.1 404 Badness
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+ETag: "21025-dc7-39462498"
+Content-Length: 6
+Content-Type: text/html
+Funny-head: yesyes
+
hejsan
</data>
<data1>
-HTTP/1.1 200 Fine
-Date: Thu, 09 Nov 2010 14:49:00 GMT
-Content-Length: 13
-Connection: close
-Content-Type: text/html
-
+HTTP/1.1 200 Fine
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Content-Length: 13
+Connection: close
+Content-Type: text/html
+
fine content
</data1>
diff --git a/tests/data/test539 b/tests/data/test539
index 593fcac1a..eaa64d518 100644
--- a/tests/data/test539
+++ b/tests/data/test539
@@ -8,7 +8,7 @@ FTP
#
# Server-side
<reply>
-<data mode="text">
+<data>
file contents
</data>
diff --git a/tests/data/test543 b/tests/data/test543
index df5c1dfbb..455633037 100644
--- a/tests/data/test543
+++ b/tests/data/test543
@@ -28,7 +28,7 @@ curl_easy_escape
# There's no MTDM in the protocol here since this code doesn't ask for the
# time/date of the file
<verify>
-<stdout mode="text">
+<stdout>
%9C%26K%3DI%04%A1%01%E0%D8%7C%20%B7%EFS%29%FA%1DW%E1
</stdout>
</verify>
diff --git a/tests/data/test544 b/tests/data/test544
index 963baec78..78cb5a45e 100644
--- a/tests/data/test544
+++ b/tests/data/test544
@@ -9,12 +9,12 @@ HTTP POST
#
# Server-side
<reply>
-<data mode="text">
-HTTP/1.1 200 OK swsclose
-Date: Thu, 09 Nov 2010 14:49:00 GMT
-Server: test-server/fake
-Content-Length: 3
-
+<data>
+HTTP/1.1 200 OK swsclose
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake
+Content-Length: 3
+
OK
</data>
</reply>
diff --git a/tests/data/test545 b/tests/data/test545
index 11e3fb9f3..0bba688ae 100644
--- a/tests/data/test545
+++ b/tests/data/test545
Binary files differ
diff --git a/tests/data/test549 b/tests/data/test549
index 9ef6ec939..a248edbf6 100644
--- a/tests/data/test549
+++ b/tests/data/test549
@@ -58,7 +58,7 @@ Accept: */*
Proxy-Connection: Keep-Alive
</protocol>
-<stdout mode="text">
+<stdout>
hello
</stdout>
</verify>
diff --git a/tests/data/test550 b/tests/data/test550
index 8fd99a7fd..a609aa216 100644
--- a/tests/data/test550
+++ b/tests/data/test550
@@ -58,7 +58,7 @@ Accept: */*
Proxy-Connection: Keep-Alive
</protocol>
-<stdout mode="text">
+<stdout>
hello
</stdout>
</verify>
diff --git a/tests/data/test554 b/tests/data/test554
index b08d7741f..b55fa3d10 100644
--- a/tests/data/test554
+++ b/tests/data/test554
@@ -9,13 +9,13 @@ HTTP POST
#
# Server-side
<reply>
-<data mode="text">
-HTTP/1.1 200 OK
-Date: Thu, 09 Nov 2010 14:49:00 GMT
-Server: test-server/fake swsclose
-Connection: close
-Content-Type: text/html
-
+<data>
+HTTP/1.1 200 OK
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake swsclose
+Connection: close
+Content-Type: text/html
+
hello
</data>
</reply>
diff --git a/tests/data/test557 b/tests/data/test557
index 3da67e99f..493cc2289 100644
--- a/tests/data/test557
+++ b/tests/data/test557
@@ -25,7 +25,7 @@ nothing
#
# Verify data after the test has been "shot"
<verify>
-<stdout mode="text">
+<stdout>
All curl_mprintf() unsigned short tests OK!
All curl_mprintf() signed short tests OK!
All curl_mprintf() unsigned int tests OK!
diff --git a/tests/data/test558 b/tests/data/test558
index f8cbfbe8d..7a9ba7061 100644
--- a/tests/data/test558
+++ b/tests/data/test558
@@ -34,7 +34,7 @@ nothing
#
# Verify data after the test has been "shot"
<verify>
-<file name="log/memdump" mode="text">
+<file name="log/memdump">
MEM lib558.c: malloc()
MEM lib558.c: free()
MEM escape.c: malloc()
diff --git a/tests/data/test561 b/tests/data/test561
index 9f437f58d..a6188eacf 100644
--- a/tests/data/test561
+++ b/tests/data/test561
@@ -59,7 +59,7 @@ Accept: */*
Proxy-Connection: Keep-Alive
</protocol>
-<stdout mode="text">
+<stdout>
hello
</stdout>
</verify>
diff --git a/tests/data/test566 b/tests/data/test566
index 95da61d2d..9923d8fb8 100644
--- a/tests/data/test566
+++ b/tests/data/test566
@@ -8,18 +8,18 @@ HTTP GET
#
# Server-side
<reply>
-<data mode="text">
-HTTP/1.1 200 OK
-Date: Thu, 09 Nov 2010 14:49:00 GMT
-Server: test-server/fake
-Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
-ETag: "21025-dc7-39462498"
-Accept-Ranges: bytes
-Content-Length: 0
-Connection: close
-Content-Type: text/html
-Funny-head: yesyes
-
+<data>
+HTTP/1.1 200 OK
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake
+Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
+ETag: "21025-dc7-39462498"
+Accept-Ranges: bytes
+Content-Length: 0
+Connection: close
+Content-Type: text/html
+Funny-head: yesyes
+
</data>
</reply>
@@ -44,7 +44,7 @@ http://%HOSTIP:%HTTPPORT/566 log/ip566
#
# Verify data after the test has been "shot"
<verify>
-<file name="log/ip566" mode="text">
+<file name="log/ip566">
CL: 0
</file>
<protocol>
diff --git a/tests/data/test571 b/tests/data/test571
index bedb5e920..5e138cdf9 100644
--- a/tests/data/test571
+++ b/tests/data/test571
@@ -83,7 +83,7 @@ rtsp://%HOSTIP:%RTSPPORT/571 log/protofile.txt
</client>
<verify>
-<stdout mode="text">
+<stdout>
RTP: message size 10, channel 1
RTP: message size 500, channel 0
RTP: message size 196, channel 0
diff --git a/tests/data/test574 b/tests/data/test574
index 1fa4654d4..c1584480c 100644
--- a/tests/data/test574
+++ b/tests/data/test574
@@ -82,7 +82,7 @@ EPSV
RETR someothertext.txt
QUIT
</protocol>
-<stdout mode="text">
+<stdout>
This file should have permissions 444
This file should have permissions 666
This file should have permissions 777
diff --git a/tests/data/test575 b/tests/data/test575
index 5670e6bc6..813383456 100644
--- a/tests/data/test575
+++ b/tests/data/test575
@@ -100,7 +100,7 @@ EPSV
RETR someothertext.txt
QUIT
</protocol>
-<stdout mode="text">
+<stdout>
This file should have permissions 444
This file should have permissions 666
This file should have permissions 777
diff --git a/tests/data/test576 b/tests/data/test576
index 4d4b90c80..52a6664f1 100644
--- a/tests/data/test576
+++ b/tests/data/test576
@@ -34,7 +34,7 @@ ftp://%HOSTIP:%FTPPORT/fully_simulated/UNIX/*
<errorcode>
0
</errorcode>
-<stdout mode="text">
+<stdout>
=============================================================
Remains: 14
Filename: .
diff --git a/tests/data/test578 b/tests/data/test578
index 0b6a43731..e4ee4ac17 100644
--- a/tests/data/test578
+++ b/tests/data/test578
@@ -8,18 +8,18 @@ HTTP POST
#
# Server-side
<reply name="1">
-<data mode="text">
-HTTP/1.1 200 OK
-Date: Thu, 09 Nov 2010 14:49:00 GMT
-Server: test-server/fake
-Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
-ETag: "21025-dc7-39462498"
-Accept-Ranges: bytes
-Content-Length: 6
-Connection: close
-Content-Type: text/html
-Funny-head: yesyes
-
+<data>
+HTTP/1.1 200 OK
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake
+Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
+ETag: "21025-dc7-39462498"
+Accept-Ranges: bytes
+Content-Length: 6
+Connection: close
+Content-Type: text/html
+Funny-head: yesyes
+
-foo-
</data>
</reply>
@@ -45,7 +45,7 @@ http://%HOSTIP:%HTTPPORT/500 log/ip578
#
# Verify data after the test has been "shot"
<verify>
-<file name="log/ip578" mode="text">
+<file name="log/ip578">
PASSED, UL data matched data size
</file>
</verify>
diff --git a/tests/data/test579 b/tests/data/test579
index d21be1be1..11c81a428 100644
--- a/tests/data/test579
+++ b/tests/data/test579
@@ -72,7 +72,7 @@ http://%HOSTIP:%HTTPPORT/579 log/ip579
#
# Verify data after the test has been "shot"
<verify>
-<file name="log/ip579" mode="text">
+<file name="log/ip579">
Progress callback called with UL 0 out of 0
Progress callback called with UL 0 out of -1
Progress callback called with UL 8 out of -1
diff --git a/tests/data/test584 b/tests/data/test584
index 582a91120..309c7b65b 100644
--- a/tests/data/test584
+++ b/tests/data/test584
@@ -11,31 +11,31 @@ multi
# Silly division of the first request is solely to appease the server which expects n_data_items == n_requests
<reply>
<data1>
-HTTP/1.1 200 OK
-Server: test-server/fake
-Content-Length: 4
-
+HTTP/1.1 200 OK
+Server: test-server/fake
+Content-Length: 4
+
584
</data1>
<data2>
-HTTP/1.1 200 OK
+HTTP/1.1 200 OK
</data2>
<data3>
-Server: test-server/fake
+Server: test-server/fake
</data3>
<data4>
-Content-Length: 0
-
-HTTP/1.1 200 OK
-Server: test-server/fake
-Content-Length: 5
-
+Content-Length: 0
+
+HTTP/1.1 200 OK
+Server: test-server/fake
+Content-Length: 5
+
585
-HTTP/1.1 200 OK
-Server: test-server/fake
-Content-Length: 4
-
+HTTP/1.1 200 OK
+Server: test-server/fake
+Content-Length: 4
+
586
</data4>
</reply>
@@ -76,26 +76,26 @@ Host: %HOSTIP:%HTTPPORT
Accept: */*
</protocol>
-<stdout mode="text">
-HTTP/1.1 200 OK
-Server: test-server/fake
-Content-Length: 4
-
+<stdout>
+HTTP/1.1 200 OK
+Server: test-server/fake
+Content-Length: 4
+
584
-HTTP/1.1 200 OK
-Server: test-server/fake
-Content-Length: 0
-
-HTTP/1.1 200 OK
-Server: test-server/fake
-Content-Length: 5
-
+HTTP/1.1 200 OK
+Server: test-server/fake
+Content-Length: 0
+
+HTTP/1.1 200 OK
+Server: test-server/fake
+Content-Length: 5
+
585
-HTTP/1.1 200 OK
-Server: test-server/fake
-Content-Length: 4
-
+HTTP/1.1 200 OK
+Server: test-server/fake
+Content-Length: 4
+
586
</stdout>
</verify>
diff --git a/tests/data/test598 b/tests/data/test598
index f43bbacd0..11a0dbc3c 100644
--- a/tests/data/test598
+++ b/tests/data/test598
@@ -12,31 +12,31 @@ curl_easy_reset
#
# Server-side
<reply>
-<data mode="text">
-HTTP/1.1 200 OK
-Date: Thu, 09 Nov 2010 14:49:00 GMT
-Content-Length: 6
-Connection: close
-Content-Type: text/html
-
+<data>
+HTTP/1.1 200 OK
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Content-Length: 6
+Connection: close
+Content-Type: text/html
+
-foo-
</data>
# since the request runs twice
<datacheck>
-HTTP/1.1 200 OK
-Date: Thu, 09 Nov 2010 14:49:00 GMT
-Content-Length: 6
-Connection: close
-Content-Type: text/html
-
+HTTP/1.1 200 OK
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Content-Length: 6
+Connection: close
+Content-Type: text/html
+
-foo-
-HTTP/1.1 200 OK
-Date: Thu, 09 Nov 2010 14:49:00 GMT
-Content-Length: 6
-Connection: close
-Content-Type: text/html
-
+HTTP/1.1 200 OK
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Content-Length: 6
+Connection: close
+Content-Type: text/html
+
-foo-
</datacheck>