zeek/testing/btest/bifs/unique_id-pools.zeek
Jon Siwek 7967a5b0aa General btest cleanup
- Use `-b` most everywhere, it will save time.

- Start some intel tests upon the input file being fully read instead of
  at an arbitrary time.

- Improve termination condition for some sumstats/cluster tests.

- Filter uninteresting output from some supervisor tests.

- Test for `notice_policy.log` is no longer needed.
2020-08-11 11:26:22 -07:00

27 lines
553 B
Text

#
# @TEST-EXEC: zeek -b order_rand | sort >out.1
# @TEST-EXEC: zeek -b order_base | sort >out.2
# @TEST-EXEC: cmp out.1 out.2
@TEST-START-FILE order_rand.zeek
print unique_id("A-");
print unique_id_from(5, "E-");
print unique_id("B-");
print unique_id_from(4, "D-");
print unique_id("C-");
print unique_id_from(5, "F-");
@TEST-END-FILE
@TEST-START-FILE order_base.zeek
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-");
@TEST-END-FILE