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

7 lines
273 B
Plaintext

# %TEST-DOC: This verifies that btest errors out when provided an undefined alternative.
# %TEST-EXEC-FAIL: btest -a nonexistant %INPUT >output 2>&1
# %TEST-EXEC: btest-diff output
# %TEST-EXEC-FAIL: test -f child-output
@TEST-EXEC: echo 'Hello world' >../../child-output