# @TEST-DOC: Ensure that event coalescence works properly. # @TEST-REQUIRES: test "${ZEEK_USE_CPP}" != "1" # # @TEST-EXEC: zeek -b -O ZAM %INPUT >output # @TEST-EXEC: btest-diff output event my_event() &priority=-10 { print "first instance, lower priority"; } event my_event() &priority=10 { print "second instance, higher priority"; } event zeek_init() { # This should print a single event handler body. print my_event; # Make sure execution of both handlers happens properly. event my_event(); }