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

Use the new "-R" option for broccoli-vectors and broping so that they will retry connecting to Bro until the connection is established. This avoids a race condition and eliminates the need for a "sleep" after starting Bro.
9 lines
417 B
Text
9 lines
417 B
Text
# @TEST-SERIALIZE: comm
|
|
#
|
|
# @TEST-REQUIRES: test -e $BUILD/aux/broccoli/src/libbroccoli.so || test -e $BUILD/aux/broccoli/src/libbroccoli.dylib
|
|
#
|
|
# @TEST-EXEC: btest-bg-run bro bro $DIST/aux/broccoli/test/broccoli-vectors.bro
|
|
# @TEST-EXEC: btest-bg-run broccoli $BUILD/aux/broccoli/test/broccoli-vectors -R
|
|
# @TEST-EXEC: btest-bg-wait 20
|
|
# @TEST-EXEC: btest-diff bro/.stdout
|
|
# @TEST-EXEC: btest-diff broccoli/.stdout
|