mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
Updating tests.
This commit is contained in:
parent
eb3218590e
commit
10dc8b9279
4 changed files with 73 additions and 52 deletions
|
@ -2,7 +2,7 @@
|
|||
# @TEST-EXEC: bro -r $TRACES/modbus/modbus.trace %INPUT | sort | uniq -c | sed 's/^ *//g' >output
|
||||
# @TEST-EXEC: btest-diff output
|
||||
# @TEST-EXEC: cat output | awk '{print $2}' | grep "^modbus_" | sort | uniq | wc -l >covered
|
||||
# @TEST-EXEC: cat ${DIST}/src/event.bif | grep "^event modbus_" | wc -l >total
|
||||
# @TEST-EXEC: cat ${DIST}/src/analyzer/protocol/modbus/events.bif | grep "^event modbus_" | 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