summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-12-07 10:08:42 +0000
committerfoobar <sniper@php.net>2005-12-07 10:08:42 +0000
commite5bd8e32f5b39c233ca8cb69059175cda7a246de (patch)
treec8ad0d9c928bad54123970d15538bf85c9c77c80
parent5b561a6df344293e327b260ec43543f7507d14fb (diff)
downloadphp-git-e5bd8e32f5b39c233ca8cb69059175cda7a246de.tar.gz
MFH: fixed error messages
-rwxr-xr-xrun-tests.php6
1 files changed, 3 insertions, 3 deletions
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