mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 19:18:19 +00:00
Various unit test cleanup.
Updated README and collected coverage-related tests in a common dir. There are still coverage failures resulting from either the following scripts not being @load'd in the default bro mode: base/frameworks/time-machine/notice.bro base/protocols/http/partial-content.bro base/protocols/rpc/main.bro Or the following result in errors when @load'd: policy/protocols/conn/scan.bro policy/hot.conn.bro If these are all scripts-in-progress, can we move them all to live outside the main scripts/ directory until they're ready?
This commit is contained in:
parent
24bb14390b
commit
a71ab223c4
19 changed files with 119 additions and 95 deletions
|
@ -1,8 +0,0 @@
|
|||
# Makes sure that all policy/* scripts are loaded in test-all-policy.bro; and that
|
||||
# all scripts loaded there actually exist.
|
||||
|
||||
@TEST-EXEC: test -e $DIST/scripts/test-all-policy.bro
|
||||
@TEST-EXEC: test -d $DIST/scripts
|
||||
@TEST-EXEC: ( cd $DIST/scripts/policy && find . -name '*.bro' ) | sort >"all scripts found"
|
||||
@TEST-EXEC: cat $DIST/scripts/test-all-policy.bro | grep '@load' | sed 'sm^\( *# *\)\{0,\}@load *m./mg' | sort >test-all-policy.bro
|
||||
@TEST-EXEC: diff -u "all scripts found" test-all-policy.bro 1>&2
|
Loading…
Add table
Add a link
Reference in a new issue