mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Improve unit test for reporter shutdown order
This commit is contained in:
parent
ed1a50ec5b
commit
12f3ab303b
4 changed files with 9 additions and 5 deletions
4
CHANGES
4
CHANGES
|
@ -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
|
2.6-71 | 2019-01-14 16:11:58 -0600
|
||||||
|
|
||||||
* GH-205: prioritize use of sigaction() over sigset() (Jon Siwek, Corelight)
|
* GH-205: prioritize use of sigaction() over sigset() (Jon Siwek, Corelight)
|
||||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
2.6-71
|
2.6-75
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
warning: ./config/Input::READER_CONFIG: Init: cannot open ./config
|
|
||||||
error: reporter/Log::WRITER_ASCII: cannot open reporter.log: Permission denied
|
|
||||||
error: reporter/Log::WRITER_ASCII: terminating thread
|
|
|
@ -1,6 +1,9 @@
|
||||||
# @TEST-EXEC: touch reporter.log && chmod -w reporter.log
|
# @TEST-EXEC: touch reporter.log && chmod -w reporter.log
|
||||||
# @TEST-EXEC: bro %INPUT >out 2>&1
|
# @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" };
|
redef Config::config_files += { "./config" };
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue