cvs: php4(PHP_4_3) / run-tests.php

From: Date: Fri, 15 Nov 2002 16:34:07 +0000
Subject: cvs: php4(PHP_4_3) / run-tests.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-16295@lists.php.net to get a copy of this message
helly Fri Nov 15 11:34:07 2002 EDT Modified files: (Branch: PHP_4_3) /php4 run-tests.php Log: MFH: SKIP and INFO result from --SKIPIF-- Index: php4/run-tests.php diff -u php4/run-tests.php:1.119.2.7 php4/run-tests.php:1.119.2.8 --- php4/run-tests.php:1.119.2.7 Fri Nov 15 11:13:10 2002 +++ php4/run-tests.php Fri Nov 15 11:34:07 2002 @@ -534,7 +534,7 @@ 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 @@ } 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)";

« previous php.cvs (#16295) next »