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));



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

Reply via email to