mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

For backward compatibility when reading values, we first check the ZEEK-prefixed value, and if not set, then check the corresponding BRO-prefixed value.
12 lines
363 B
Text
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-");
|