projects
/
psad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
8018338
)
additional regex's to look for perl warnings
author
Michael Rash
<mbr@cipherdyne.org>
Sun, 16 Dec 2012 03:02:42 +0000 (22:02 -0500)
committer
Michael Rash
<mbr@cipherdyne.org>
Sun, 16 Dec 2012 03:02:42 +0000 (22:02 -0500)
test/test-psad.pl
patch
|
blob
|
history
diff --git
a/test/test-psad.pl
b/test/test-psad.pl
index
8a133b0
..
394062f
100755
(executable)
--- a/
test/test-psad.pl
+++ b/
test/test-psad.pl
@@
-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",