zeek/auxil/zeekctl/testing/initialization/zeekctl-mixed-case.test
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

14 lines
451 B
Plaintext

# Test that option names in zeekctl.cfg are case-insensitive, and that
# whitespace is ignored before and after option names and values.
#
# @TEST-EXEC: bash %INPUT
# @TEST-EXEC: btest-diff out
. zeekctl-test-setup
# Specify an option name with mixed case and extraneous whitespace before
# and after the option name and value.
echo " comprEsSloGs = 1 " >> $ZEEKCTL_INSTALL_PREFIX/etc/zeekctl.cfg
zeekctl config | grep -i CompressLogs > out