zeek/testing/btest/core/dns-init.zeek
2025-08-12 10:19:03 -07:00

11 lines
311 B
Text

# 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] = {
blocking_lookup_hostname("google.com")
};
print foo;