projects
/
fwknop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
1b9f847
)
minor file_find_regex() logging prefix update
author
Michael Rash
<mbr@cipherdyne.org>
Tue, 17 Jul 2012 02:05:15 +0000 (22:05 -0400)
committer
Michael Rash
<mbr@cipherdyne.org>
Tue, 17 Jul 2012 02:05:15 +0000 (22:05 -0400)
test/test-fwknop.pl
patch
|
blob
|
history
diff --git
a/test/test-fwknop.pl
b/test/test-fwknop.pl
index
447d2c0
..
18f0478
100755
(executable)
--- 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;
}