Fix code format of various reporter btests

This commit is contained in:
Jon Siwek 2020-02-14 22:02:33 -08:00
parent e896846752
commit 11d8b8c040
8 changed files with 64 additions and 60 deletions

View file

@ -1,4 +1,8 @@
3.2.0-dev.46 | 2020-02-14 22:02:50 -0800
* Fix code format of various reporter btests (Jon Siwek, Corelight)
3.2.0-dev.45 | 2020-02-14 21:14:49 -0800 3.2.0-dev.45 | 2020-02-14 21:14:49 -0800
* Update libkqueue for a linux bugfix (Jon Siwek, Corelight) * Update libkqueue for a linux bugfix (Jon Siwek, Corelight)

View file

@ -1 +1 @@
3.2.0-dev.45 3.2.0-dev.46

View file

@ -3,7 +3,7 @@
# than looping indefinitly, the error inside the handler should reported to stderr. # than looping indefinitly, the error inside the handler should reported to stderr.
# #
# TODO: interpreter exceptions currently may cause memory leaks, so disable leak checks # TODO: interpreter exceptions currently may cause memory leaks, so disable leak checks
# @TEST-EXEC: ASAN_OPTIONS="$ASAN_OPTIONS,detect_leaks=0" zeek %INPUT >output 2>&1 # @TEST-EXEC: ASAN_OPTIONS="$ASAN_OPTIONS,detect_leaks=0" zeek -b %INPUT >output 2>&1
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff output # @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff output
global a: table[count] of count; global a: table[count] of count;

View file

@ -1,7 +1,7 @@
# The format string below should end up as a literal part of the reporter's # The format string below should end up as a literal part of the reporter's
# error message to stderr and shouldn't be replaced internally. # error message to stderr and shouldn't be replaced internally.
# #
# @TEST-EXEC-FAIL: zeek %INPUT >output 2>&1 # @TEST-EXEC-FAIL: zeek -b %INPUT >output 2>&1
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff output # @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff output
event zeek_init() event zeek_init()

View file

@ -1,5 +1,5 @@
# #
# @TEST-EXEC-FAIL: zeek %INPUT >output 2>&1 # @TEST-EXEC-FAIL: zeek -b %INPUT >output 2>&1
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff output # @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff output
event zeek_init() event zeek_init()

View file

@ -1,5 +1,5 @@
# #
# @TEST-EXEC-FAIL: zeek %INPUT >output 2>&1 # @TEST-EXEC-FAIL: zeek -b %INPUT >output 2>&1
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff output # @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff output
global a: table[count] of count; global a: table[count] of count;

View file

@ -1,5 +1,5 @@
# #
# @TEST-EXEC-FAIL: zeek %INPUT >output 2>&1 # @TEST-EXEC-FAIL: zeek -b %INPUT >output 2>&1
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff output # @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff output
event foo(a: string) event foo(a: string)