mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 00:28:21 +00:00
Add test for CaptureLoss::Too_Little_Traffic
This commit is contained in:
parent
59620ed75d
commit
c58cf69890
3 changed files with 32 additions and 0 deletions
12
testing/btest/scripts/policy/misc/capture-loss.zeek
Normal file
12
testing/btest/scripts/policy/misc/capture-loss.zeek
Normal file
|
@ -0,0 +1,12 @@
|
|||
# @TEST-EXEC: zeek -b -r $TRACES/dns53.pcap %INPUT
|
||||
# @TEST-EXEC: btest-diff capture_loss.log
|
||||
# @TEST-EXEC: btest-diff notice.log
|
||||
|
||||
@load misc/capture-loss
|
||||
|
||||
module CaptureLoss;
|
||||
|
||||
event zeek_init()
|
||||
{
|
||||
event take_measurement(network_time(), 0, 0);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue