From 8e9f83add23b1a64a460e590f659023e010b8f5c Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Mon, 21 Oct 2002 08:55:49 +0000 Subject: [PATCH] - Stijl polizei --- run-tests.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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'; } -- 2.50.1