summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Lopes <nlopess@php.net>2008-02-08 16:46:23 +0000
committerNuno Lopes <nlopess@php.net>2008-02-08 16:46:23 +0000
commit46b9c230084774bf4fc5803e552f2e6591392312 (patch)
tree7b9d0225440beaa388d85b9717fa663a626c623c
parent38149b6207a1459f9e85330e71417cdb787d89b2 (diff)
downloadphp-git-46b9c230084774bf4fc5803e552f2e6591392312.tar.gz
fix ===DONE=== with windows EOLs
-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;
}
}