cvs: php4 / run-tests.php

From: Date: Sun, 02 Mar 2003 15:12:12 +0000
Subject: cvs: php4 / run-tests.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-19309@lists.php.net to get a copy of this message
helly Sun Mar 2 10:12:12 2003 EDT Modified files: /php4 run-tests.php Log: fix problem in current HEAD # strange why on earth does $GLOBALS['cwd'] produce a warning here? # however we already have a global declarations so we use it for cwd, too. Index: php4/run-tests.php diff -u php4/run-tests.php:1.145 php4/run-tests.php:1.146 --- php4/run-tests.php:1.145 Tue Feb 18 15:07:59 2003 +++ php4/run-tests.php Sun Mar 2 10:12:12 2003 @@ -575,7 +575,7 @@ function run_test($php,$file) { - global $log_format, $info_params, $ini_overwrites; + global $log_format, $info_params, $ini_overwrites, $cwd; if (DETAILED) echo " ================= @@ -608,7 +608,7 @@ } fclose($fp); - $shortname = str_replace($GLOBALS['cwd'].'/', '', $file); + $shortname = str_replace($cwd.'/', '', $file); $tested = trim($section_text['TEST'])." [$shortname]"; $tmp = realpath(dirname($file));

« previous php.cvs (#19309) next »