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

and replies. Almost ready, but now 1 test fails again ... [Note I broke git history by copying over the files into a new branch.]
9 lines
438 B
Text
9 lines
438 B
Text
#
|
|
# @TEST-EXEC: bro -r $TRACES/dnp3/dnp3_read.pcap %DIR/events.bro >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
|
|
#
|