From a27c83dddd958b11f1dd751d2612ed1bbeba94ff Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Thu, 8 Aug 2013 15:11:50 -0400 Subject: [PATCH] colorize some of the output from settings-tester Signed-off-by: Jason Etheridge --- qa/test_output_filter.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qa/test_output_filter.pl b/qa/test_output_filter.pl index cbe479cb7..fdf13eef5 100755 --- a/qa/test_output_filter.pl +++ b/qa/test_output_filter.pl @@ -19,12 +19,17 @@ while (my $line = <>) { if ($line =~ /^ok/ || $line =~ /\. ok/ || $line =~ /^PASS/ + || $line =~ /\* OK/ + || $line =~ /\* Jabber successfully connected/ + || $line =~ /\* Database has the expected server encoding / ) { $class .= 'ok '; } $class .= 'error ' if ($line =~ /^err/i); if ($line =~ /^not ok/ || $line =~ /\. not ok/ + || $line =~ /\* ERROR/ + || $line =~ /\* WARNING/ ) { $class .= 'notok '; $error_count++; -- 2.11.0