summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrun-tests.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php
index c68e5d464c..05f8941f5f 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -1077,7 +1077,7 @@ TEST $file
}
// End of actual test?
- if ($secfile && preg_match('/^===DONE===$/', $line)) {
+ if ($secfile && preg_match('/^===DONE===\s*$/', $line)) {
$secdone = true;
}
}