mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

Even if they are not serializable, OpaqueMgr::TypeID() is called during BuildJSON() for them and that previously just aborted. Closes #3473
8 lines
245 B
Text
8 lines
245 B
Text
# @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;
|
|
}
|