minor test suite update to look for linker warnings in a more generic way
authorMichael Rash <mbr@cipherdyne.org>
Mon, 2 Jan 2012 20:25:35 +0000 (15:25 -0500)
committerMichael Rash <mbr@cipherdyne.org>
Mon, 2 Jan 2012 20:25:35 +0000 (15:25 -0500)
test/test-fwknop.pl

index 251addb..ab3c4c9 100755 (executable)
@@ -1447,7 +1447,7 @@ sub compile_warnings() {
 
     ### look for compilation warnings - something like:
     ###     warning: ‘test’ is used uninitialized in this function
-    return 0 if &file_find_regex([qr/\swarning:\s/, qr/gcc\:.*input\sfile/], $current_test_file);
+    return 0 if &file_find_regex([qr/\swarning:\s/, qr/gcc\:.*\sunused/], $current_test_file);
 
     ### the new binaries should exist
     unless (-e $fwknopCmd and -x $fwknopCmd) {