# Makes sure any given zeek script in the scripts/ tree can be loaded in # bare mode without error. # # Commonly, this test may fail if one forgets to @load some base/ scripts # when writing a new zeek scripts. # # Require Spicy, otherwise its scripts cannot be loaded. # @TEST-REQUIRES: have-spicy # @TEST-REQUIRES: have-zeromq # # @TEST-EXEC: test -d $DIST/scripts # @TEST-EXEC: find $DIST/scripts/ -name "*.zeek" -print0 | xargs -0 -n1 -P 20 -- zeek -b --parse-only >>errors 2>&1 # @TEST-EXEC: TEST_DIFF_CANONIFIER="$SCRIPTS/diff-remove-abspath | $SCRIPTS/diff-sort" btest-diff errors