mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

This updates Baselines, changes paths to scripts and log files, adds TEST-DOC annotations, and various other cleanups that make the zeek-aux tests more like the rest of the zeek tests.
12 lines
373 B
Text
12 lines
373 B
Text
# @TEST-DOC: Don't compress the logs.
|
|
# @TEST-EXEC: bash %INPUT
|
|
|
|
. "${SCRIPTS}/zeek-aux/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 --compress="" "$(queue_dir)" "$(archive_dir)"
|
|
|
|
test "$(cat "$(archive_date_dir)/${log_out}")" == "hello"
|