From: foobar Date: Wed, 7 Dec 2005 10:08:42 +0000 (+0000) Subject: MFH: fixed error messages X-Git-Tag: php-5.1.2RC1~177 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e5bd8e32f5b39c233ca8cb69059175cda7a246de;p=php MFH: fixed error messages --- diff --git a/run-tests.php b/run-tests.php index bd687070a7..ff1a4082c6 100755 --- a/run-tests.php +++ b/run-tests.php @@ -1219,17 +1219,17 @@ COMMAND $cmd if (!$passed) { // write .exp if (strpos($log_format,'E') !== FALSE) { - file_put_contents($exp_filename, $wanted) or error("Cannot create test log - $exp_filename"); + file_put_contents($exp_filename, $wanted) or error("Cannot create expected test output - $exp_filename"); } // write .out if (strpos($log_format,'O') !== FALSE) { - file_put_contents($output_filename, $output) or error("Cannot create test log - $output_filename"); + file_put_contents($output_filename, $output) or error("Cannot create test output - $output_filename"); } // write .diff if (strpos($log_format,'D') !== FALSE) { - file_put_contents($diff_filename, generate_diff($wanted,$wanted_re,$output)) or error("Cannot create test log - $diff_filename"); + file_put_contents($diff_filename, generate_diff($wanted,$wanted_re,$output)) or error("Cannot create test diff - $diff_filename"); } // write .log