Adjust btests for OpenBSD portability

This commit is contained in:
Jon Siwek 2019-11-08 17:32:44 -08:00
parent 7965dcd041
commit 0c71715cf4
2 changed files with 26 additions and 2 deletions

View file

@ -1,6 +1,29 @@
# @TEST-EXEC: for i in `seq 21`; do echo 0 >> random.seed; done
# @TEST-EXEC: test `zeek -b -G random.seed %INPUT` = "pass"
@TEST-START-FILE random.seed
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
@TEST-END-FILE
type r: record {
b: set[count];
};

View file

@ -1,6 +1,7 @@
#
# @TEST-EXEC: zeek -b %INPUT
# @TEST-EXEC: gunzip -S .gzip ssh.log.gzip
# @TEST-EXEC: mv ssh.log.gzip ssh.log.gz
# @TEST-EXEC: gunzip ssh.log.gz
# @TEST-EXEC: btest-diff ssh.log
# @TEST-EXEC: btest-diff ssh-uncompressed.log
#