zeek/auxil/btest/testing/tests/versioning.test
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

13 lines
405 B
Plaintext

# This test verifies that btest correctly errors out when the minimum
# version requested in the config file is greater than our current one.
#
# %TEST-EXEC-FAIL: btest -c btest.cfg 2>output.tmp
# %TEST-EXEC: cat output.tmp | sed 's/this is .*Please/this is XXX. Please/' >output
# %TEST-EXEC: btest-diff output
%TEST-START-FILE btest.cfg
[btest]
TmpDir = .tmp
MinVersion = 99999.99
%TEST-END-FILE