From: Marcus Boerger Date: Sat, 2 Nov 2002 22:06:03 +0000 (+0000) Subject: copy paste error X-Git-Tag: php-4.3.0RC1~329 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9e73bcaa33ca8d9ae28aef0b7a7f9ca7a993c064;p=php copy paste error #all these different versions here.... --- diff --git a/run-tests.php b/run-tests.php index 0d6b028fdf..c1baca5df8 100755 --- a/run-tests.php +++ b/run-tests.php @@ -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; } }