mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
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:
parent
963b27f054
commit
5beb68194d
7 changed files with 132 additions and 0 deletions
2
testing/btest/Baseline/core.load-stdin/output.implicit
Normal file
2
testing/btest/Baseline/core.load-stdin/output.implicit
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue