zeek/testing/btest/bifs/unique_id-rnd.zeek
Daniel Thayer 1a74516db1 Rename all BRO-prefixed environment variables
For backward compatibility when reading values, we first check
the ZEEK-prefixed value, and if not set, then check the corresponding
BRO-prefixed value.
2019-05-22 00:12:31 -05:00

12 lines
363 B
Text

#
# @TEST-EXEC: ZEEK_SEED_FILE= zeek -b %INPUT >out
# @TEST-EXEC: ZEEK_SEED_FILE= zeek -b %INPUT >>out
# @TEST-EXEC: cat out | sort | uniq | wc -l | sed 's/ //g' >count
# @TEST-EXEC: btest-diff count
print unique_id("A-");
print unique_id("B-");
print unique_id("C-");
print unique_id_from(4, "D-");
print unique_id_from(5, "E-");
print unique_id_from(5, "F-");