summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoriyoshi Koizumi <moriyoshi@php.net>2002-10-21 10:22:41 +0000
committerMoriyoshi Koizumi <moriyoshi@php.net>2002-10-21 10:22:41 +0000
commitcd410cbf9ff64bcad8e8f013a04e383a7c156345 (patch)
tree5f439391ce4260cc5e2137db34f9bb1a0be3fda4
parent988c3557208b88f18738de79534a79021db4bab9 (diff)
downloadphp-git-cd410cbf9ff64bcad8e8f013a04e383a7c156345.tar.gz
\s cannot be used with ereg()
-rwxr-xr-xrun-tests.php2
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 {