]> granicus.if.org Git - php/commitdiff
copy paste error
authorMarcus Boerger <helly@php.net>
Sat, 2 Nov 2002 22:06:03 +0000 (22:06 +0000)
committerMarcus Boerger <helly@php.net>
Sat, 2 Nov 2002 22:06:03 +0000 (22:06 +0000)
#all these different versions here....

run-tests.php

index 0d6b028fdf5eac666b05bf9a989480e5c4e425f2..c1baca5df8f2edec1ce72f4d423fa23ebfe6a0f9 100755 (executable)
@@ -149,7 +149,7 @@ if (isset($argc) && $argc > 1) {
                $testfile = realpath($argv[$i]);
                if (is_dir($testfile)) {
                        find_files($testfile);
-               } else if(preg_match("/\.phpt$/", $name)) {
+               } else if(preg_match("/\.phpt$/", $testfile)) {
                        $test_files[] = $testfile;
                }
        }