mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 07:38:19 +00:00

This also installs symlinks from "zeek" and "bro-config" to a wrapper script that prints a deprecation warning. The btests pass, but this is still WIP. broctl renaming is still missing. #239
9 lines
440 B
Text
9 lines
440 B
Text
#
|
|
# @TEST-EXEC: zeek -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
|
|
#
|