zeek/testing/btest/bifs/unique_id.bro
Robin Sommer 8266709e20 A new bif unique_id(prefix) that returns a string that's unique across
Bro instaces with high probablity.

"prefix" is a string that will be prepended to the returned ID.
2011-06-07 17:57:22 -07:00

7 lines
131 B
Text

#
# @TEST-EXEC: bro %INPUT >out
# @TEST-EXEC: btest-diff out
print unique_id("A-");
print unique_id("B-");
print unique_id("C-");