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,18 @@
# Test zeek-cut with ZEEK_CUT_TIMEFMT environment variable.
#
# Output local time with format from environment.
# @TEST-EXEC: cat $LOGS/conn.log | ZEEK_CUT_TIMEFMT="%H%M_%y%m%d" zeek-cut -d > env-local
# @TEST-EXEC: btest-diff env-local
# Output UTC with format from environment.
# @TEST-EXEC: cat $LOGS/conn.log | ZEEK_CUT_TIMEFMT="%H%M_%y%m%d" zeek-cut -u > env-utc
# @TEST-EXEC: btest-diff env-utc
# The "-D" option overrides environment variable.
# @TEST-EXEC: cat $LOGS/conn.log | ZEEK_CUT_TIMEFMT="%H%M_%y%m%d" zeek-cut -D "%H %M %y %m %d" > env-local-fmt
# @TEST-EXEC: btest-diff env-local-fmt
# The "-U" option overrides environment variable.
# @TEST-EXEC: cat $LOGS/conn.log | ZEEK_CUT_TIMEFMT="%H%M_%y%m%d" zeek-cut -U "%H %M %y %m %d" > env-utc-fmt
# @TEST-EXEC: btest-diff env-utc-fmt