Attempting to fix modbus test portability.

Adding the external canonifier, let's if that helps. Maybe the test
would be better located in the external suite anyways ...
This commit is contained in:
Robin Sommer 2012-11-06 07:21:07 -08:00
parent 6c70b11cea
commit d75ee59953

View file

@ -1,6 +1,6 @@
#
# @TEST-EXEC: bro -r $TRACES/modbus.trace %INPUT | sort | uniq -c >output
# @TEST-EXEC: btest-diff output
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$DIST/testing/scripts/diff-canonifier-external btest-diff output
# @TEST-EXEC: cat output | awk '{print $1}' | sort | uniq | wc -l >covered
# @TEST-EXEC: cat ${DIST}/src/event.bif | grep "^event modbus_" | wc -l >total
# @TEST-EXEC: echo `cat covered` of `cat total` events triggered by trace >coverage