cvs: php4 / run-tests.php
| From: | Moriyoshi Koizumi | Date: | Mon, 21 Oct 2002 10:22:41 +0000 |
| Subject: | cvs: php4 / run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-15099@lists.php.net to get a copy of this message | ||
moriyoshi Mon Oct 21 06:22:41 2002 EDT
Modified files:
/php4 run-tests.php
Log:
\s cannot be used with ereg()
Index: php4/run-tests.php
diff -u php4/run-tests.php:1.77 php4/run-tests.php:1.78
--- php4/run-tests.php:1.77 Mon Oct 21 05:04:56 2002
+++ php4/run-tests.php Mon Oct 21 06:22:41 2002
@@ -435,7 +435,7 @@
@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 {