Fixing modbus test on MacOS.

Hopefully ...
This commit is contained in:
Robin Sommer 2012-11-07 17:09:25 -08:00
parent d75ee59953
commit e92ea67959
2 changed files with 159117 additions and 159117 deletions

View file

@ -1,4 +1,4 @@
79557
79557
1 modbus_exception, [id=[orig_h=192.168.66.235, orig_p=2582/tcp, resp_h=166.161.16.230, resp_p=502/tcp], orig=[size=1572, state=4, num_pkts=154, num_bytes_ip=7740, flow_label=0], resp=[size=1195, state=4, num_pkts=167, num_bytes_ip=7870, flow_label=0], start_time=1153491888.530306, duration=79.974922, service={
1 modbus_exception, [id=[orig_h=192.168.66.235, orig_p=2582/tcp, resp_h=166.161.16.230, resp_p=502/tcp], orig=[size=1584, state=4, num_pkts=155, num_bytes_ip=7792, flow_label=0], resp=[size=1204, state=4, num_pkts=168, num_bytes_ip=7919, flow_label=0], start_time=1153491888.530306, duration=80.576052, service={
1 modbus_exception, [id=[orig_h=192.168.66.235, orig_p=2582/tcp, resp_h=166.161.16.230, resp_p=502/tcp], orig=[size=1596, state=4, num_pkts=157, num_bytes_ip=7884, flow_label=0], resp=[size=1213, state=4, num_pkts=170, num_bytes_ip=8008, flow_label=0], start_time=1153491888.530306, duration=81.276794, service={

View file

@ -1,6 +1,6 @@
#
# @TEST-EXEC: bro -r $TRACES/modbus.trace %INPUT | sort | uniq -c >output
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$DIST/testing/scripts/diff-canonifier-external btest-diff output
# @TEST-EXEC: bro -r $TRACES/modbus.trace %INPUT | sort | uniq -c | sed 's/^ */ /g' >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 modbus_" | wc -l >total
# @TEST-EXEC: echo `cat covered` of `cat total` events triggered by trace >coverage