added a test case for dnp3 packets with only link layer

This commit is contained in:
Hui Lin 2013-08-09 23:43:36 -05:00 committed by Robin Sommer
parent 21d45a435c
commit bced60f7a8
4 changed files with 2998 additions and 0 deletions

View file

@ -0,0 +1 @@
6 of 52 events triggered by trace

File diff suppressed because it is too large Load diff

Binary file not shown.

View file

@ -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
#