zeek/testing/btest/core/embedded-null.bro
Johanna Amann 0747080e5f Merge branch 'Reporter/MessageFix' of https://github.com/catenacyber/bro
* 'Reporter/MessageFix' of https://github.com/catenacyber/bro:
  Better reporter for Brostring with embedded NUL

I slightly changed the code for beautification purposes and added a
testcase. No functional changes.
2018-04-16 10:58:45 -07:00

8 lines
131 B
Text

# @TEST-EXEC: bro -b %INPUT 2>&1
# @TEST-EXEC: btest-diff .stdout
event bro_init()
{
local a = "hi\x00there";
unique_id(a);
}