From e25cff932810dbb46e720d5375dd164fe69201ce Mon Sep 17 00:00:00 2001
From: Yang Tse <yangsita@gmail.com>
Date: Mon, 11 May 2009 17:21:26 +0000
Subject: [PATCH] Adjust test definition for TPF.

---
 tests/data/test508 | 4 ++++
 tests/data/test555 | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/tests/data/test508 b/tests/data/test508
index c4e8d3d380..5cd4b8c342 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 6a7aa1da0e..d433569c02 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
-- 
GitLab