summaryrefslogtreecommitdiffstats
path: root/tests/parser.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/parser.tcl')
-rw-r--r--tests/parser.tcl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/parser.tcl b/tests/parser.tcl
index 274c08a3..6b08717b 100644
--- a/tests/parser.tcl
+++ b/tests/parser.tcl
@@ -73,4 +73,5 @@ foreach testcase $files {
exec kill $rsyslogdPID;
close $udpSock;
-puts "Number of failed test: $failed.\n";
+puts "Number of failed tests: $failed.\n";
+if { $failed != 0 } { exit 1 };