From 9e73bcaa33ca8d9ae28aef0b7a7f9ca7a993c064 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sat, 2 Nov 2002 22:06:03 +0000 Subject: [PATCH] copy paste error #all these different versions here.... --- run-tests.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.50.1