From e25cff932810dbb46e720d5375dd164fe69201ce Mon Sep 17 00:00:00 2001 From: Yang Tse 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 c4e8d3d..5cd4b8c 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" + +# 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) + POST /508 HTTP/1.1 Host: %HOSTIP:%HTTPPORT diff --git a/tests/data/test555 b/tests/data/test555 index 6a7aa1d..d433569 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! 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) POST http://test.remote.haxx.se/path/555 HTTP/1.1 -- 2.7.4