mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 12:08:20 +00:00
Porting the istate tests to btest.
Note that currently most of them don't pass because (i) the code adding the environment variable for seeding the RNG has not been merged into master yet; and (2) Broccoli to Bro communication is currently broken because of the int64 problem. Once these are fixed, then baselines need to be recreated and checked. Therefore, the istate tests aren't activated in btest.cfg yet.
This commit is contained in:
parent
3562682ac9
commit
bc39f9f048
21 changed files with 641 additions and 0 deletions
13
testing/btest/istate/pybroccoli.py
Normal file
13
testing/btest/istate/pybroccoli.py
Normal file
|
@ -0,0 +1,13 @@
|
|||
# @TEST-REQUIRES: grep -vq '#define BROv6' $BUILD/config.h
|
||||
# @TEST-REQUIRES: test -e $BUILD/aux/broccoli/src/libbroccoli.so
|
||||
# @TEST-REQUIRES: test -e $BUILD/aux/broccoli/bindings/broccoli-python/_broccoli_intern.so
|
||||
#
|
||||
# @TEST-EXEC: btest-bg-run bro bro $DIST/aux/broccoli/bindings/broccoli-python/tests/test.bro
|
||||
# @TEST-EXEC: sleep 1
|
||||
# @TEST-EXEC: btest-bg-run python python $DIST/aux/broccoli/bindings/broccoli-python/tests/test.py
|
||||
# @TEST-EXEC: sleep 1
|
||||
# @TEST-EXEC: btest-bg-wait -k 5
|
||||
# @TEST-EXEC: btest-diff bro/.stdout.log
|
||||
# @TEST-EXEC: btest-diff broccoli/.stdout.log
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue