From 6f6a9d727dc52f294064aec44e1a1c6d16a67ed9 Mon Sep 17 00:00:00 2001 From: Michael Rash Date: Mon, 2 Jan 2012 15:25:35 -0500 Subject: [PATCH] minor test suite update to look for linker warnings in a more generic way --- test/test-fwknop.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-fwknop.pl b/test/test-fwknop.pl index 251addb8..ab3c4c93 100755 --- a/test/test-fwknop.pl +++ b/test/test-fwknop.pl @@ -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) {