diff options
-rwxr-xr-x | run-tests.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php index 9e8d9384a0..2185480126 100755 --- a/run-tests.php +++ b/run-tests.php @@ -435,7 +435,7 @@ TEST $file @unlink($tmp_skipif); if (ereg("^skip", trim($output))){ echo "SKIP $tested"; - $reason = (ereg("^skip\s*(.+)$", trim($output))) ? ereg_replace("^skip\s*(.+)$", "\\1", trim($output)) : FALSE; + $reason = (ereg("^skip[[:space:]]*(.+)\$", trim($output))) ? ereg_replace("^^skip[[:space:]]*(.+)\$", "\\1", trim($output)) : FALSE; if ($reason) { echo " (reason: $reason)\n"; } else { |