moriyoshi Mon Aug 11 16:02:05 2003 EDT
Modified files:
/php-src run-tests.php
Log:
Ensure CGI binary works like CLI.
# This kind of mess should be removed if other better way is found.
Index: php-src/run-tests.php
diff -u php-src/run-tests.php:1.176 php-src/run-tests.php:1.177
--- php-src/run-tests.php:1.176 Sun Aug 10 07:46:03 2003
+++ php-src/run-tests.php Mon Aug 11 16:02:05 2003
@@ -731,8 +731,8 @@
if (trim($section_text['SKIPIF'])) {
save_text($tmp_skipif, $section_text['SKIPIF']);
$extra = substr(PHP_OS, 0, 3) !== "WIN" ?
- "unset REQUEST_METHOD;": "";
- $output = system_with_timeout("$extra $php $info_params
$tmp_skipif");
+ "unset REQUEST_METHOD; unset QUERY_STRING; unset
PATH_TRANSLATED; unset SCRIPT_FILENAME; unset REQUEST_METHOD;": "";
+ $output = system_with_timeout("$extra $php -q $info_params
$tmp_skipif");
@unlink($tmp_skipif);
if (eregi("^skip", trim($output))) {
echo "SKIP $tested";
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php