mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
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:
parent
1f777b57b8
commit
075edbdd2b
2 changed files with 9 additions and 9 deletions
|
@ -1,5 +1,5 @@
|
|||
input: now it does
|
||||
input: and more!
|
||||
inputstream: now it does
|
||||
inputstream: and more!
|
||||
inputstream: Streaming still works
|
||||
input: 1 now it does
|
||||
input: 2 and more!
|
||||
inputstream: 1 now it does
|
||||
inputstream: 2 and more!
|
||||
inputstream: 3 streaming still works
|
||||
|
|
|
@ -8,17 +8,17 @@
|
|||
# @TEST-EXEC: mv does-exist.dat does-not-exist.dat
|
||||
# @TEST-EXEC: sleep 2
|
||||
# @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-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-START-FILE does-exist.dat
|
||||
#separator \x09
|
||||
#fields line
|
||||
#types string
|
||||
now it does
|
||||
and more!
|
||||
1 now it does
|
||||
2 and more!
|
||||
@TEST-END-FILE
|
||||
|
||||
redef exit_only_after_terminate = T;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue