From: Marcus Boerger Date: Fri, 15 Nov 2002 16:34:07 +0000 (+0000) Subject: MFH: SKIP and INFO result from --SKIPIF-- X-Git-Tag: php-4.3.0RC2~142 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aaf5c396901a6609c8a9be859194a278ab7a4e7e;p=php MFH: SKIP and INFO result from --SKIPIF-- --- diff --git a/run-tests.php b/run-tests.php index 27e4339dd0..c1fd98eb4d 100755 --- a/run-tests.php +++ b/run-tests.php @@ -534,7 +534,7 @@ TEST $file save_text($tmp_skipif, $section_text['SKIPIF']); $output = `$php $info_params $tmp_skipif`; @unlink($tmp_skipif); - if (ereg("^skip", strtolower(trim($output)))) { + if (eregi("^skip", trim($output))) { echo "SKIP $tested"; $reason = (ereg("^skip[[:space:]]*(.+)\$", trim($output))) ? ereg_replace("^skip[[:space:]]*(.+)\$", "\\1", trim($output)) : FALSE; if ($reason) { @@ -544,7 +544,7 @@ TEST $file } return 'SKIPPED'; } - if (ereg("^info", strtolower(trim($output)))) { + if (eregi("^info", trim($output))) { $reason = (ereg("^info[[:space:]]*(.+)\$", trim($output))) ? ereg_replace("^info[[:space:]]*(.+)\$", "\\1", trim($output)) : FALSE; if ($reason) { $tested .= " (info: $reason)";