zeek/testing/btest/coverage/bare-mode-errors.test
Jon Siwek d4ef9f3693 Fix missing @load dependencies in some scripts.
And update the unit test which is supposed to catch such errors.
2014-04-09 16:32:23 -05:00

9 lines
395 B
Text

# Makes sure any given bro 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 bro scripts.
#
# @TEST-EXEC: test -d $DIST/scripts
# @TEST-EXEC: for script in `find $DIST/scripts/ -name \*\.bro`; do bro -b --parse-only $script >>errors 2>&1; done
# @TEST-EXEC: btest-diff errors