[Bro-Dev] #756: notice_policy.log keeps causing test failures
Bro Tracker
bro at tracker.bro-ids.org
Wed Jan 25 17:33:50 PST 2012
#756: notice_policy.log keeps causing test failures
---------------------+------------------------
Reporter: robin | Owner:
Type: Problem | Status: new
Priority: High | Milestone: Bro2.1
Component: Bro | Version: git/master
Keywords: |
---------------------+------------------------
Many changes reorder notice_policy.log, which then lets in particular the
external tests all fail. That get's annoying.
Ideas how to fix that?
{{{
#### btest-diff notice_policy.log
== File ===============================
<Content not shown>
== Diff ===============================
--- /tmp/test-diff.1205.notice_policy.log.baseline.tmp 2012-01-26
01:28:55.172821809 +0000
+++ /tmp/test-diff.1205.notice_policy.log.tmp 2012-01-26
01:28:55.184822264 +0000
@@ -6,9 +6,9 @@
#fields position priority action pred halt
suppress_for
#types count count enum func bool interval
0 10 Notice::ACTION_ADD_GEODATA anonymous-function\x0a{
\x0areturn ((Notice::n$note in Notice::lookup_location_types));\x0a} F
-
-1 9 Notice::ACTION_NONE anonymous-function\x0a{ \x0areturn
((Notice::n$note in Notice::ignored_types));\x0a} T -
-2 9 Notice::ACTION_NO_SUPPRESS anonymous-function\x0a{
\x0areturn ((Notice::n$note in Notice::not_suppressed_types));\x0a} F
-
-3 8 Notice::ACTION_NONE anonymous-function\x0a{ \x0aif
(Notice::n$note in Notice::type_suppression_intervals) \x0a\x09{
\x0a\x09Notice::n$suppress_for = Not
-4 8 Notice::ACTION_EMAIL anonymous-function\x0a{ \x0areturn
((Notice::n$note in Notice::emailed_types));\x0a} F -
+1 9 Notice::ACTION_NO_SUPPRESS anonymous-function\x0a{
\x0areturn ((Notice::n$note in Notice::not_suppressed_types));\x0a} F
-
+2 9 Notice::ACTION_NONE anonymous-function\x0a{ \x0areturn
((Notice::n$note in Notice::ignored_types));\x0a} T -
+3 8 Notice::ACTION_EMAIL anonymous-function\x0a{ \x0areturn
((Notice::n$note in Notice::emailed_types));\x0a} F -
+4 8 Notice::ACTION_NONE anonymous-function\x0a{ \x0aif
(Notice::n$note in Notice::type_suppression_intervals) \x0a\x09{
\x0a\x09Notice::n$suppress_for = Not
5 8 Notice::ACTION_ALARM anonymous-function\x0a{ \x0areturn
((Notice::n$note in Notice::alarmed_types));\x0a} F -
6 0 Notice::ACTION_LOG - F -
}}}
--
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/756>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker
More information about the bro-dev
mailing list