- extend & fixup test suite
[m6w6/ext-http] / tests / redirect_001.phpt
index 9180619587d976a4a4946d4cb97c8c2eeb70ad57..f85d98f4d70caacb00aafd335af18829c28da193 100644 (file)
@@ -3,14 +3,20 @@ http_redirect() with params
 --SKIPIF--
 <?php 
 include 'skip.inc';
+checkcgi();
+checkmax(5.0);
 ?>
+--ENV--
+HTTP_HOST=localhost
 --FILE--
 <?php
+include 'log.inc';
+log_prepare(_REDIR_LOG);
 http_redirect('redirect', array('a' => 1, 'b' => 2));
 ?>
 --EXPECTF--
 Status: 302
-Content-type: text/html
+Content-type: %s
 X-Powered-By: PHP/%s
 Location: http://localhost/redirect?a=1&b=2