mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 03:28:19 +00:00
Fix a netcontrol test that often fails
The catch-and-release.bro test was failing whenever three conditions were all true: sorting the netcontrol.log before comparing to the baseline, the presence of LC_ALL=C in btest.cfg changes the sort order, and sometimes the timestamp increases slightly beginning with one of the rule_id == 5 lines. As a result of these three conditions, the sorted order of the lines with rule_id of 5 were different than the baseline. Fixed by not sorting netcontrol.log, as this doesn't seem necessary.
This commit is contained in:
parent
09486c9062
commit
c251245538
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
# @TEST-EXEC: bro -r $TRACES/tls/ecdhe.pcap %INPUT
|
# @TEST-EXEC: bro -r $TRACES/tls/ecdhe.pcap %INPUT
|
||||||
# @TEST-EXEC: TEST_DIFF_CANONIFIER='grep -v ^# | $SCRIPTS/diff-sort | $SCRIPTS/diff-remove-timestamps' btest-diff netcontrol.log
|
# @TEST-EXEC: TEST_DIFF_CANONIFIER='grep -v ^# | $SCRIPTS/diff-remove-timestamps' btest-diff netcontrol.log
|
||||||
# @TEST-EXEC: btest-diff netcontrol_catch_release.log
|
# @TEST-EXEC: btest-diff netcontrol_catch_release.log
|
||||||
|
|
||||||
@load base/frameworks/netcontrol
|
@load base/frameworks/netcontrol
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue