From c4a78438526603873e56dd2add1d927b61c76dac Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Sat, 11 Jul 2009 05:31:28 +0000
Subject: [PATCH] - Patch #516062 by c960657: fixed regression in run-tests.sh

---
 scripts/run-tests.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh
index 6de37ae5b943..955feae8ae64 100755
--- a/scripts/run-tests.sh
+++ b/scripts/run-tests.sh
@@ -400,7 +400,7 @@ function simpletest_script_get_test_list() {
       }
 
       // Check for valid class names.
-      foreach ($all_tests as $class_name => $info) {
+      foreach ($all_tests as $class_name) {
         $refclass = new ReflectionClass($class_name);
         $file = $refclass->getFileName();
         if (isset($files[$file])) {
-- 
GitLab