projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
|
inline
| side by side (parent:
5e762e0
)
- fix some tests on linux
author
Michael Wallner
<mike@php.net>
Fri, 9 Sep 2005 15:06:42 +0000
(15:06 +0000)
committer
Michael Wallner
<mike@php.net>
Fri, 9 Sep 2005 15:06:42 +0000
(15:06 +0000)
rebuild
patch
|
blob
|
history
tests/get_request_data_001.phpt
patch
|
blob
|
history
tests/redirect_001.phpt
patch
|
blob
|
history
tests/redirect_002.phpt
patch
|
blob
|
history
tests/redirect_003.phpt
patch
|
blob
|
history
diff --git
a/rebuild
b/rebuild
index 0643c83ef3e071d65938243a88eb0ea48b4bef6b..2506a9b6a50d6afa2ce549b5a0b6e72229aad6a3 100755
(executable)
--- 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" \
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
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 00272941d5c99d1efa72f95c35d8a2a217a64936..4d15265a3f90755cc17626a7cb03351cfed06252 100644
(file)
--- 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_ACCEPT_CHARSET=iso-8859-1, *
HTTP_ACCEPT_ENCODING=none
HTTP_USER_AGENT=Mozilla/5.0
+HTTP_HOST=localhost
--POST--
a=b&c=d
--FILE--
--POST--
a=b&c=d
--FILE--
@@
-28,6
+29,7
@@
Array
(
[Accept-Charset] => iso-8859-1, *
[Accept-Encoding] => none
(
[Accept-Charset] => iso-8859-1, *
[Accept-Encoding] => none
+ [Host] => localhost
[User-Agent] => Mozilla/5.0
)
OK
[User-Agent] => Mozilla/5.0
)
OK
diff --git
a/tests/redirect_001.phpt
b/tests/redirect_001.phpt
index 696157953300d39a62a5cafc558974d62671c385..d4e7bbd7a778e8bb5ac83fbba9039c6e3bfacef9 100644
(file)
--- a/
tests/redirect_001.phpt
+++ b/
tests/redirect_001.phpt
@@
-5,6
+5,8
@@
http_redirect() with params
include 'skip.inc';
checkcgi();
?>
include 'skip.inc';
checkcgi();
?>
+--ENV--
+HTTP_HOST=localhost
--FILE--
<?php
include 'log.inc';
--FILE--
<?php
include 'log.inc';
diff --git
a/tests/redirect_002.phpt
b/tests/redirect_002.phpt
index 9add4a0b1c3f0809b5967be69431bc881a9da0de..d43e9adc76bea03a091720bb6d1a38111fb59c07 100644
(file)
--- a/
tests/redirect_002.phpt
+++ b/
tests/redirect_002.phpt
@@
-5,6
+5,8
@@
http_redirect() with session
include 'skip.inc';
checkcgi();
?>
include 'skip.inc';
checkcgi();
?>
+--ENV--
+HTTP_HOST=localhost
--FILE--
<?php
include 'log.inc';
--FILE--
<?php
include 'log.inc';
diff --git
a/tests/redirect_003.phpt
b/tests/redirect_003.phpt
index cd9fb4eff455305adf41e934eef0f96b9208ac96..ba9b83b6734b7382f25770ab9eddd6d519c7b7ff 100644
(file)
--- a/
tests/redirect_003.phpt
+++ b/
tests/redirect_003.phpt
@@
-5,6
+5,8
@@
http_redirect() permanent
include 'skip.inc';
checkcgi();
?>
include 'skip.inc';
checkcgi();
?>
+--ENV--
+HTTP_HOST=localhost
--FILE--
<?php
include 'log.inc';
--FILE--
<?php
include 'log.inc';