From 981059452b472bb0cd3a6a9254e3cfb396668e4c Mon Sep 17 00:00:00 2001 From: Michael Rash Date: Mon, 16 Jul 2012 22:05:15 -0400 Subject: [PATCH] minor file_find_regex() logging prefix update --- test/test-fwknop.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test-fwknop.pl b/test/test-fwknop.pl index 447d2c06..18f04783 100755 --- a/test/test-fwknop.pl +++ b/test/test-fwknop.pl @@ -2734,13 +2734,13 @@ sub file_find_regex() { my $matched = 0; for my $line (@file_lines) { if ($line =~ $re) { - push @write_lines, "[.] file_find_regex() " . + push @write_lines, "[+] file_find_regex() " . "Matched '$re' with line: $line"; $matched = 1; } } unless ($matched) { - push @write_lines, "[.] file_find_regex() " . + push @write_lines, "[-] file_find_regex() " . "Did not match any regex in '@$re_ar' in file: $file\n"; $found_all_regexs = 0; }