mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 11:08:20 +00:00
added a test case for dnp3 packets with only link layer
This commit is contained in:
parent
21d45a435c
commit
bced60f7a8
4 changed files with 2998 additions and 0 deletions
|
@ -0,0 +1 @@
|
||||||
|
6 of 52 events triggered by trace
|
File diff suppressed because it is too large
Load diff
BIN
testing/btest/Traces/dnp3/dnp3_link_only.pcap
Executable file
BIN
testing/btest/Traces/dnp3/dnp3_link_only.pcap
Executable file
Binary file not shown.
|
@ -0,0 +1,8 @@
|
||||||
|
#
|
||||||
|
# @TEST-EXEC: bro -r $TRACES/dnp3/dnp3_link_only.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/event.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
|
||||||
|
#
|
Loading…
Add table
Add a link
Reference in a new issue