From: Michael Wallner Date: Fri, 9 Sep 2005 15:06:42 +0000 (+0000) Subject: - fix some tests on linux X-Git-Tag: RELEASE_0_14_0~40 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=b1d7d87f91b5cdcf321cb103e1a315f639885d61;hp=5e762e0d42ec1a71df83f0623318721d481d660d - fix some tests on linux --- diff --git a/rebuild b/rebuild index 0643c83..2506a9b 100755 --- a/rebuild +++ b/rebuild @@ -11,7 +11,7 @@ echo "DONE" echo -n "configuring... " CFLAGS="-W -Wchar-subscripts -Wformat=2 -Wno-format-y2k -Wimplicit -Wmissing-braces -Wunused-variable -Wbad-function-cast -Wpointer-arith -Wsign-compare -Winline" \ - ./configure >/dev/null + ./configure $@ >/dev/null if test $? -ne 0 ; then echo "FAILED!" exit 1 diff --git a/tests/get_request_data_001.phpt b/tests/get_request_data_001.phpt index 0027294..4d15265 100644 --- a/tests/get_request_data_001.phpt +++ b/tests/get_request_data_001.phpt @@ -8,6 +8,7 @@ include 'skip.inc'; HTTP_ACCEPT_CHARSET=iso-8859-1, * HTTP_ACCEPT_ENCODING=none HTTP_USER_AGENT=Mozilla/5.0 +HTTP_HOST=localhost --POST-- a=b&c=d --FILE-- @@ -28,6 +29,7 @@ Array ( [Accept-Charset] => iso-8859-1, * [Accept-Encoding] => none + [Host] => localhost [User-Agent] => Mozilla/5.0 ) OK diff --git a/tests/redirect_001.phpt b/tests/redirect_001.phpt index 6961579..d4e7bbd 100644 --- a/tests/redirect_001.phpt +++ b/tests/redirect_001.phpt @@ -5,6 +5,8 @@ http_redirect() with params include 'skip.inc'; checkcgi(); ?> +--ENV-- +HTTP_HOST=localhost --FILE-- +--ENV-- +HTTP_HOST=localhost --FILE-- +--ENV-- +HTTP_HOST=localhost --FILE--