]> granicus.if.org Git - php/commitdiff
fix ===DONE=== with windows EOLs
authorNuno Lopes <nlopess@php.net>
Fri, 8 Feb 2008 16:47:20 +0000 (16:47 +0000)
committerNuno Lopes <nlopess@php.net>
Fri, 8 Feb 2008 16:47:20 +0000 (16:47 +0000)
run-tests.php

index 30fa9db503fdb71d69728015d6bde7a491fbfd5f..5d12a1e0f060a4f9b991877e71a6018ff99b3241 100755 (executable)
@@ -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;
                }
        }