zeek/testing/btest/coverage/global-ids-to-json.zeek
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

9 lines
245 B
Plaintext

# @TEST-DOC: Ensure to_json(global_ids()) does not abort and do not expect any stderr output.
# @TEST-EXEC: unset ZEEK_ALLOW_INIT_ERRORS; zeek %INPUT
# @TEST-EXEC: btest-diff .stderr
event zeek_init()
{
assert |to_json(global_ids())| > 0;
}