Fix a unit test relying on a bash-ism

This commit is contained in:
Jon Siwek 2018-11-02 18:30:01 -05:00
parent b2560384c4
commit de640d651f
3 changed files with 6 additions and 2 deletions

View file

@ -1,4 +1,8 @@
2.6-beta2-68 | 2018-11-02 18:30:01 -0500
* Fix a unit test relying on a bash-ism (Jon Siwek, Corelight)
2.6-beta2-67 | 2018-11-02 17:41:46 -0500 2.6-beta2-67 | 2018-11-02 17:41:46 -0500
* Add script-layer call stack to internal errors messages that abort (Jon Siwek, Corelight) * Add script-layer call stack to internal errors messages that abort (Jon Siwek, Corelight)

View file

@ -1 +1 @@
2.6-beta2-67 2.6-beta2-68

View file

@ -1,6 +1,6 @@
# @TEST-EXEC-FAIL: bro -b %INPUT >output 2>&1 # @TEST-EXEC-FAIL: bro -b %INPUT >output 2>&1
# @TEST-EXEC: grep "internal error" output >output2 # @TEST-EXEC: grep "internal error" output >output2
# @TEST-EXEC: for i in {1..5}; do cat output2 | cut -d'|' -f$i >>out; done # @TEST-EXEC: for i in 1 2 3 4 5; do cat output2 | cut -d'|' -f$i >>out; done
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff out # @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff out
@load base/utils/queue @load base/utils/queue