mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Initial move of zeek-aux btests and related files to zeek btest dir
This commit is contained in:
parent
c05da53275
commit
7887451a66
148 changed files with 0 additions and 0 deletions
12
testing/btest/zeek-aux/zeek-archiver/default.test
Normal file
12
testing/btest/zeek-aux/zeek-archiver/default.test
Normal file
|
@ -0,0 +1,12 @@
|
|||
# Default behavior: compress the log.
|
||||
# @TEST-EXEC: bash %INPUT
|
||||
|
||||
. "$SCRIPTS/zeek-archiver-common.sh"
|
||||
|
||||
log_in=test__2020-07-16-09-43-10__2020-07-16-09-43-10__.log
|
||||
log_out=test.09:43:10-09:43:10.log
|
||||
|
||||
echo hello > "$(queue_dir)/${log_in}"
|
||||
zeek-archiver -1 -v "$(queue_dir)" "$(archive_dir)"
|
||||
|
||||
test "$(gunzip <"$(archive_date_dir)/${log_out}.gz")" == "hello"
|
Loading…
Add table
Add a link
Reference in a new issue