mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
sqlite default-logdir test: Remove ls ./logs baseline
Observed .sqlite-journal files and missing reporter.sqlite files in CI runs. Subsequently reading the ./test.sqlite file is more reliable and should be good enough.
This commit is contained in:
parent
93584c7c7f
commit
a2bcb1bf28
2 changed files with 0 additions and 5 deletions
|
@ -1,3 +0,0 @@
|
||||||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
|
||||||
./logs/reporter.sqlite
|
|
||||||
./logs/test.sqlite
|
|
|
@ -5,10 +5,8 @@
|
||||||
#
|
#
|
||||||
# @TEST-EXEC: mkdir logs
|
# @TEST-EXEC: mkdir logs
|
||||||
# @TEST-EXEC: zeek -b -r ${TRACES}/rotation.trace %INPUT >zeek.out 2>&1
|
# @TEST-EXEC: zeek -b -r ${TRACES}/rotation.trace %INPUT >zeek.out 2>&1
|
||||||
# @TEST-EXEC: ls ./logs/* > ls.logs
|
|
||||||
# @TEST-EXEC: sqlite3 ./logs/test.sqlite 'select * from test' > test.select
|
# @TEST-EXEC: sqlite3 ./logs/test.sqlite 'select * from test' > test.select
|
||||||
# @TEST-EXEC: btest-diff test.select
|
# @TEST-EXEC: btest-diff test.select
|
||||||
# @TEST-EXEC: btest-diff ls.logs
|
|
||||||
# @TEST-EXEC: btest-diff zeek.out
|
# @TEST-EXEC: btest-diff zeek.out
|
||||||
#
|
#
|
||||||
# @TEST-DOC: Configure Log::default_writer, Log::default_logdir and ensure the test.sqlite database is in ./logs
|
# @TEST-DOC: Configure Log::default_writer, Log::default_logdir and ensure the test.sqlite database is in ./logs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue