projects
/
fwknop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
88c66f6
)
made compilation warning check case-insensitive
author
Michael Rash
<mbr@cipherdyne.org>
Fri, 7 Dec 2012 19:53:27 +0000 (14:53 -0500)
committer
Michael Rash
<mbr@cipherdyne.org>
Fri, 7 Dec 2012 19:53:27 +0000 (14:53 -0500)
test/test-fwknop.pl
patch
|
blob
|
history
diff --git
a/test/test-fwknop.pl
b/test/test-fwknop.pl
index
8b7cf3d
..
9ffa056
100755
(executable)
--- a/
test/test-fwknop.pl
+++ b/
test/test-fwknop.pl
@@
-2652,7
+2652,7
@@
sub compile_warnings() {
### look for compilation warnings - something like:
### warning: ‘test’ is used uninitialized in this function
- if (&file_find_regex([qr/\swarning:\s/, qr/gcc\:.*\sunused/],
+ if (&file_find_regex([qr/\swarning:\s/i, qr/gcc\:.*\sunused/],
$MATCH_ANY, "test/$curr_test_file")) {
chdir $curr_pwd or die $!;
return 0;