aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-05-11 17:21:26 +0000
committerYang Tse <yangsita@gmail.com>2009-05-11 17:21:26 +0000
commite25cff932810dbb46e720d5375dd164fe69201ce (patch)
treed8361cced7d4b8f68fd893cb68b1722b5da6b973 /tests/data
parent36b397be9f851bb153fe47bba0acf86c0a4eecb9 (diff)
Adjust test definition for TPF.
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