aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/test5084
-rw-r--r--tests/data/test5552
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/data/test508 b/tests/data/test508
index c4e8d3d38..5cd4b8c34 100644
--- a/tests/data/test508
+++ b/tests/data/test508
@@ -34,6 +34,10 @@ http://%HOSTIP:%HTTPPORT/508
#
# Verify data after the test has been "shot"
<verify>
+<strippart>
+# remove CR that CURLOPT_TRANSFERTEXT added, when CharConv enabled:
+s/^(this is what we post to the silly web server)\r\n/$1\n/ if($has_charconv)
+</strippart>
<protocol>
POST /508 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
diff --git a/tests/data/test555 b/tests/data/test555
index 6a7aa1da0..d433569c0 100644
--- a/tests/data/test555
+++ b/tests/data/test555
@@ -99,6 +99,8 @@ http://test.remote.haxx.se/path/555 http://%HOSTIP:%HTTPPORT s1lly:pers0n
# the local host name and thus differs on different machines!
<strippart>
s/^(Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAA).*/$1/
+# remove CR that CURLOPT_TRANSFERTEXT added, when CharConv enabled:
+s/^(this is the blurb we want to upload)\r\n/$1\n/ if($has_charconv)
</strippart>
<protocol>
POST http://test.remote.haxx.se/path/555 HTTP/1.1