From: Nuno Lopes Date: Fri, 8 Feb 2008 16:47:20 +0000 (+0000) Subject: fix ===DONE=== with windows EOLs X-Git-Tag: RELEASE_2_0_0a1~558 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8413735505c1921581f1bea2b5eaec90961669b6;p=php fix ===DONE=== with windows EOLs --- diff --git a/run-tests.php b/run-tests.php index 30fa9db503..5d12a1e0f0 100755 --- a/run-tests.php +++ b/run-tests.php @@ -1099,7 +1099,7 @@ TEST $file } // End of actual test? - if ($secfile && preg_match('/^===DONE===$/', $line)) { + if ($secfile && preg_match('/^===DONE===\s*$/', $line)) { $secdone = true; } }