Initial move of zeek-aux btests and related files to zeek btest dir

This commit is contained in:
Tim Wojtulewicz 2025-08-11 09:47:51 -07:00
parent c05da53275
commit 7887451a66
148 changed files with 0 additions and 0 deletions

View 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"