Add btests to verify Zeek's handling of SIGTERM and reading stdin

The core.load-stdin test checks Zeek's ability to read scripts from stdin.
core.sigterm-regular and core.sigterm-stdin verify that SIGTERM shuts down a
Zeek process during normal operation and while reading script content from
stdin, respectively. For technical reasons we don't test with SIGINT, as ctrl-c
would trigger -- see comments for details.
This commit is contained in:
Christian Kreibich 2022-07-08 12:47:10 -07:00
parent 963b27f054
commit 5beb68194d
7 changed files with 132 additions and 0 deletions

View file

@ -0,0 +1,2 @@
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
stdin