Sort output of the missing-file-initially.bro test

The output needs to be sorted to ensure that the test doesn't fail.
This commit is contained in:
Daniel Thayer 2018-05-09 14:30:22 -05:00
parent 1f777b57b8
commit 075edbdd2b
2 changed files with 9 additions and 9 deletions

View file

@ -1,5 +1,5 @@
input: now it does input: 1 now it does
input: and more! input: 2 and more!
inputstream: now it does inputstream: 1 now it does
inputstream: and more! inputstream: 2 and more!
inputstream: Streaming still works inputstream: 3 streaming still works

View file

@ -8,17 +8,17 @@
# @TEST-EXEC: mv does-exist.dat does-not-exist.dat # @TEST-EXEC: mv does-exist.dat does-not-exist.dat
# @TEST-EXEC: sleep 2 # @TEST-EXEC: sleep 2
# @TEST-EXEC: mv does-not-exist.dat does-not-exist-again.dat # @TEST-EXEC: mv does-not-exist.dat does-not-exist-again.dat
# @TEST-EXEC: echo "Streaming still works" >> does-not-exist-again.dat # @TEST-EXEC: echo "3 streaming still works" >> does-not-exist-again.dat
# @TEST-EXEC: btest-bg-wait -k 3 # @TEST-EXEC: btest-bg-wait -k 3
# @TEST-EXEC: btest-diff bro/.stdout # @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-sort btest-diff bro/.stdout
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-sort btest-diff bro/.stderr # @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-sort btest-diff bro/.stderr
@TEST-START-FILE does-exist.dat @TEST-START-FILE does-exist.dat
#separator \x09 #separator \x09
#fields line #fields line
#types string #types string
now it does 1 now it does
and more! 2 and more!
@TEST-END-FILE @TEST-END-FILE
redef exit_only_after_terminate = T; redef exit_only_after_terminate = T;