mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 20:48:21 +00:00
Making a test's output predictable.
Plus, a baseline update.
This commit is contained in:
parent
bbd409d274
commit
6b3f11493d
2 changed files with 902 additions and 1055 deletions
File diff suppressed because one or more lines are too long
|
@ -30,7 +30,7 @@ cat >scripts/demo/foo/__load__.bro <<EOF
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat >scripts/demo/foo/manually.bro <<EOF
|
cat >scripts/demo/foo/manually.bro <<EOF
|
||||||
event bro_init()
|
event bro_init() &priority=-10
|
||||||
{
|
{
|
||||||
print "plugin: manually loaded";
|
print "plugin: manually loaded";
|
||||||
}
|
}
|
||||||
|
@ -39,7 +39,7 @@ EOF
|
||||||
mkdir -p scripts/demo/foo/base/
|
mkdir -p scripts/demo/foo/base/
|
||||||
|
|
||||||
cat >scripts/demo/foo/base/at-startup.bro <<EOF
|
cat >scripts/demo/foo/base/at-startup.bro <<EOF
|
||||||
event bro_init()
|
event bro_init() &priority=10
|
||||||
{
|
{
|
||||||
print "plugin: automatically loaded at startup";
|
print "plugin: automatically loaded at startup";
|
||||||
print "calling bif", hello_plugin_world();
|
print "calling bif", hello_plugin_world();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue