mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 15:18:20 +00:00

- Use `-b` most everywhere, it will save time. - Start some intel tests upon the input file being fully read instead of at an arbitrary time. - Improve termination condition for some sumstats/cluster tests. - Filter uninteresting output from some supervisor tests. - Test for `notice_policy.log` is no longer needed.
9 lines
443 B
Text
9 lines
443 B
Text
#
|
|
# @TEST-EXEC: zeek -b -r $TRACES/dnp3/dnp3_read.pcap %DIR/events.zeek >output
|
|
# @TEST-EXEC: btest-diff output
|
|
# @TEST-EXEC: cat output | awk '{print $1}' | sort | uniq | wc -l >covered
|
|
# @TEST-EXEC: cat ${DIST}/src/analyzer/protocol/dnp3/events.bif | grep "^event dnp3_" | wc -l >total
|
|
# @TEST-EXEC: echo `cat covered` of `cat total` events triggered by trace >coverage
|
|
# @TEST-EXEC: btest-diff coverage
|
|
# @TEST-EXEC: btest-diff dnp3.log
|
|
#
|