zeek/testing/btest/core/dns-init.zeek
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

12 lines
284 B
Plaintext

# We once had a bug where DNS lookups at init time lead to an immediate crash.
#
# @TEST-EXEC: zeek -b %INPUT
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff .stderr
# @TEST-EXEC: btest-diff .stdout
const foo: set[addr] = {
google.com
};
print foo;