summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-03-02 15:12:12 +0000
committerMarcus Boerger <helly@php.net>2003-03-02 15:12:12 +0000
commitcbb3e6fd2fb9e47ff4fd8868d80567042e85c1cd (patch)
tree65883af80b1068cb1efdce81cc908546861ac45b /run-tests.php
parent71b1c7bdb08afcec3d5d21144ee610793ea61c70 (diff)
downloadphp-git-cbb3e6fd2fb9e47ff4fd8868d80567042e85c1cd.tar.gz
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.
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/run-tests.php b/run-tests.php
index 1744e0a02a..5f3ec5b275 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -575,7 +575,7 @@ function system_with_timeout($commandline)
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 @@ TEST $file
}
fclose($fp);
- $shortname = str_replace($GLOBALS['cwd'].'/', '', $file);
+ $shortname = str_replace($cwd.'/', '', $file);
$tested = trim($section_text['TEST'])." [$shortname]";
$tmp = realpath(dirname($file));