made compilation warning check case-insensitive
authorMichael Rash <mbr@cipherdyne.org>
Fri, 7 Dec 2012 19:53:27 +0000 (14:53 -0500)
committerMichael Rash <mbr@cipherdyne.org>
Fri, 7 Dec 2012 19:53:27 +0000 (14:53 -0500)
test/test-fwknop.pl

index 8b7cf3d..9ffa056 100755 (executable)
@@ -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;