zeek/testing/btest/broker/store/create-global-failure.zeek

6 lines
303 B
Text

# @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";