projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
upgrade test suite to 5.3
[m6w6/ext-http]
/
tests
/
redirect_013.phpt
diff --git
a/tests/redirect_013.phpt
b/tests/redirect_013.phpt
index 8ef8a6b76fdb2c786adbb9dd1ba1a2dbdf8a47cb..f8bec1772ab2d87d8197b4a078362ae0201853d4 100644
(file)
--- a/
tests/redirect_013.phpt
+++ b/
tests/redirect_013.phpt
@@
-4,7
+4,7
@@
http_redirect() permanent
<?php
include 'skip.inc';
checkcgi();
<?php
include 'skip.inc';
checkcgi();
-checkmin(5.
1
);
+checkmin(5.
3
);
?>
--ENV--
HTTP_HOST=localhost
?>
--ENV--
HTTP_HOST=localhost
@@
-15,10
+15,10
@@
log_prepare(_REDIR_LOG);
http_redirect('redirect', null, false, HTTP_REDIRECT_PERM);
?>
--EXPECTF--
http_redirect('redirect', null, false, HTTP_REDIRECT_PERM);
?>
--EXPECTF--
-Status: 301
-X-Powered-By: PHP/%
s
+Status: 301
%s
+X-Powered-By: PHP/%
a
Location: http://localhost/redirect
Location: http://localhost/redirect
-Content-type: %
s
+Content-type: %
a
Redirecting to <a href="http://localhost/redirect">http://localhost/redirect</a>.
Redirecting to <a href="http://localhost/redirect">http://localhost/redirect</a>.