From d75ee599536f1ac26eb11b01e744eeab46b173a1 Mon Sep 17 00:00:00 2001 From: Robin Sommer Date: Tue, 6 Nov 2012 07:21:07 -0800 Subject: [PATCH] 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 ... --- testing/btest/scripts/base/protocols/modbus/events.bro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/btest/scripts/base/protocols/modbus/events.bro b/testing/btest/scripts/base/protocols/modbus/events.bro index 3256ab0065..3c1c1d32d3 100644 --- a/testing/btest/scripts/base/protocols/modbus/events.bro +++ b/testing/btest/scripts/base/protocols/modbus/events.bro @@ -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