zeek/testing/btest/broker/store/create-global-failure.zeek
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

7 lines
303 B
Plaintext

# @TEST-DOC: Tests that creating a broker store at global scope returns an error
# @TEST-EXEC-FAIL: zeek -b %INPUT >out 2>&1
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff out
const x = Broker::create_master("store");
global t: table[string] of count &broker_store="store";