From: Michael Wallner Date: Fri, 22 Nov 2013 09:26:12 +0000 (+0000) Subject: fix tests with short_open_tags off X-Git-Tag: RELEASE_2_0_0~2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=b853770adabaeaea590da340d9c54a940d5ea1dd;p=m6w6%2Fext-http fix tests with short_open_tags off --- diff --git a/tests/envrequestbody001.phpt b/tests/envrequestbody001.phpt index 2351186..28f6a74 100644 --- a/tests/envrequestbody001.phpt +++ b/tests/envrequestbody001.phpt @@ -1,12 +1,12 @@ --TEST-- env request body --SKIPIF-- - --PUT-- Content-Type: skip/me foo --FILE-- - DONE diff --git a/tests/envrequestbody002.phpt b/tests/envrequestbody002.phpt index ec7d2d5..69c5988 100644 --- a/tests/envrequestbody002.phpt +++ b/tests/envrequestbody002.phpt @@ -1,12 +1,12 @@ --TEST-- env request body --SKIPIF-- - --PUT-- Content-Type: application/x-www-form-urlencoded foo=bar&baz=buh --FILE-- - DONE diff --git a/tests/envrequestbody003.phpt b/tests/envrequestbody003.phpt index a22dbbd..1aeae79 100644 --- a/tests/envrequestbody003.phpt +++ b/tests/envrequestbody003.phpt @@ -1,7 +1,7 @@ --TEST-- env request body --SKIPIF-- - --PUT-- Content-Type: multipart/form-data;boundary=123 --123 @@ -18,7 +18,7 @@ Content-Disposition: form-data; name="up"; filename="up.txt" foo=bar&baz=buh --123-- --FILE-- - diff --git a/tests/envrequestheader001.phpt b/tests/envrequestheader001.phpt index b259ea5..5ec5eb7 100644 --- a/tests/envrequestheader001.phpt +++ b/tests/envrequestheader001.phpt @@ -1,19 +1,20 @@ --TEST-- env request header --SKIPIF-- - --POST-- a=b --ENV-- HTTP_HOST=foo.bar HTTP_ACCEPT=*/* --FILE-- - --EXPECTF-- NULL string(%d) "foo.bar" diff --git a/tests/message002.phpt b/tests/message002.phpt index 06d9e1b..f782f8f 100644 --- a/tests/message002.phpt +++ b/tests/message002.phpt @@ -10,7 +10,7 @@ HTTP_X_TEST=test --COOKIE-- foo=bar --FILE-- -getBody()); echo "stream\n"; var_dump(file_get_contents("php://input")); - -echo "Done\n"; +?> +Done --EXPECTF-- Test object(%s)#%d (12) { diff --git a/tests/message003.phpt b/tests/message003.phpt index 69be990..26c6bc1 100644 --- a/tests/message003.phpt +++ b/tests/message003.phpt @@ -1,9 +1,9 @@ --TEST-- multipart message --SKIPIF-- - --FILE-- -isMultipart($boundary)) { var_dump($boundary); diff --git a/tests/negotiate001.phpt b/tests/negotiate001.phpt index d384b87..f628cdf 100644 --- a/tests/negotiate001.phpt +++ b/tests/negotiate001.phpt @@ -52,7 +52,7 @@ echo "$ln: "; print_r($lnr); CUSTOM -