From: Derick Rethans Date: Mon, 21 Oct 2002 08:55:49 +0000 (+0000) Subject: - Stijl polizei X-Git-Tag: php-4.3.0pre2~240 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e9f83add23b1a64a460e590f659023e010b8f5c;p=php - Stijl polizei --- diff --git a/run-tests.php b/run-tests.php index ac599bc7c5..9b43f72811 100755 --- a/run-tests.php +++ b/run-tests.php @@ -436,8 +436,9 @@ TEST $file if (ereg("^skip", trim($output))){ echo "SKIP $tested\n"; $reason = (ereg("^skip\s*(.+)$", trim($output))) ? ereg_replace("^skip\s*(.+)$", "\\1", trim($output)) : FALSE; - if($reason) - print "\treason: $reason\n"; + if ($reason) { + echo "\treason: $reason\n"; + } return 'SKIPPED'; } } @@ -539,7 +540,7 @@ COMMAND $cmd print(str_repeat('=', 80) . "\n"); var_dump($output); */ - if (preg_match("/^$wanted_re$/s", $output)) { + if (preg_match("/^$wanted_re\$/s", $output)) { echo "PASS $tested\n"; return 'PASSED'; }