From 4f03a1f2f012e190ea4334ad44e04d01685132b4 Mon Sep 17 00:00:00 2001 From: "jake%acutex.net" Date: Fri, 12 Oct 2001 20:35:37 +0000 Subject: [PATCH] If a template doesn't exist, this should be considered a compile failure. No review needed for tests at this time. NOT PART OF BUILD --- webtools/bugzilla/t/004template.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webtools/bugzilla/t/004template.t b/webtools/bugzilla/t/004template.t index ce36683fcf0..6a0b7cd479f 100644 --- a/webtools/bugzilla/t/004template.t +++ b/webtools/bugzilla/t/004template.t @@ -42,7 +42,7 @@ foreach my $file(@testitems) { if (-e $include_path . "/" . $file) { ok(1, "$file exists"); } else { - ok(0, "$file does not exist"); + ok(0, "$file does not exist --ERROR"); } } @@ -58,7 +58,7 @@ foreach my $file(@testitems) { if ($template->process($file)) { ok(1, "$file syntax ok"); } else { - ok(0, "$file has bad syntax"); + ok(0, "$file has bad syntax --ERROR"); } } open STDOUT, ">&SAVEOUT"; # redirect back to original stream