Skip to content

Commit

Permalink
Improve unit test for reporter shutdown order
Browse files Browse the repository at this point in the history
  • Loading branch information
jsiwek committed Jan 15, 2019
1 parent ed1a50e commit 12f3ab3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@

2.6-75 | 2019-01-15 10:30:06 -0600

* GH-213: change type of vector for-loop index to a count (Jon Siwek, Corelight)

2.6-71 | 2019-01-14 16:11:58 -0600

* GH-205: prioritize use of sigaction() over sigset() (Jon Siwek, Corelight)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.6-71
2.6-75

This file was deleted.

5 changes: 4 additions & 1 deletion testing/btest/core/reporter-shutdown-order-errors.bro
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# @TEST-EXEC: touch reporter.log && chmod -w reporter.log
# @TEST-EXEC: bro %INPUT >out 2>&1
# @TEST-EXEC: btest-diff out

# Output doesn't really matter, but we just want to know that Bro shutdowns
# without crashing in such scenarios (reporter log not writable
# and also reporter errors being emitting during shutdown).

redef Config::config_files += { "./config" };

0 comments on commit 12f3ab3

Please sign in to comment.