additional regex's to look for perl warnings
authorMichael Rash <mbr@cipherdyne.org>
Sun, 16 Dec 2012 03:02:42 +0000 (22:02 -0500)
committerMichael Rash <mbr@cipherdyne.org>
Sun, 16 Dec 2012 03:02:42 +0000 (22:02 -0500)
test/test-psad.pl

index 8a133b0..394062f 100755 (executable)
@@ -861,7 +861,9 @@ my @tests = (
         'category'  => 'errors',
         'detail'    => 'look for perl warnings',
         'err_msg'   => 'found perl warnings',
-        'negative_output_matches' => [qr/Use\sof\suninitialized\svalue/i],
+        'negative_output_matches' => [qr/Use\sof\suninitialized\svalue/i,
+            qr/Missing\sargument/,
+            qr/Argument.*isn\'t\snumeric/],
         'match_all' => $MATCH_ALL_RE,
         'function'  => \&look_for_warnings,
         'cmdline'   => "grep -i uninit $output_dir/*.test",