summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2002-11-02 22:06:03 +0000
committerMarcus Boerger <helly@php.net>2002-11-02 22:06:03 +0000
commit9e73bcaa33ca8d9ae28aef0b7a7f9ca7a993c064 (patch)
treeae54af51952d02b0d7ed2a8f91bc9244592ed123 /run-tests.php
parent29e8b92f22a4c52902bd3c565fcfd50b4aad2892 (diff)
downloadphp-git-9e73bcaa33ca8d9ae28aef0b7a7f9ca7a993c064.tar.gz
copy paste error
#all these different versions here....
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php2
1 files changed, 1 insertions, 1 deletions
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;
}
}