Commit:    ebefbdb76d7e16c03dc9f3cf761bff6656af42c0
Author:    Xinchen Hui <larue...@php.net>         Sat, 18 Aug 2012 12:21:48 
+0800
Parents:   15e31d5720786cda4188f258e3b2fe7b0e9ba004
Branches:  PHP-5.4

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=ebefbdb76d7e16c03dc9f3cf761bff6656af42c0

Log:
Fix test failed

Changed paths:
  M  sapi/cgi/tests/apache_request_headers.phpt


Diff:
diff --git a/sapi/cgi/tests/apache_request_headers.phpt 
b/sapi/cgi/tests/apache_request_headers.phpt
index 881b6bb..fd36e30 100644
--- a/sapi/cgi/tests/apache_request_headers.phpt
+++ b/sapi/cgi/tests/apache_request_headers.phpt
@@ -17,12 +17,12 @@ $file = dirname(__FILE__)."/012.test.php";
 
 file_put_contents($file, '<?php print_r(apache_request_headers()); ?>');
 
-passthru("$php $file");
+passthru("$php -n $file");
 
 $names = array('HTTP_X_TEST', 'HTTP_X__TEST', 'HTTP_X_');
 foreach ($names as $name) {
        putenv($name."=".str_repeat("A", 256));
-       passthru("$php -q $file");
+       passthru("$php -n -q $file");
        putenv($name);
 }
 unlink($file);


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to