Making a test's output predictable.

Plus, a baseline update.
This commit is contained in:
Robin Sommer 2014-05-15 15:00:35 -07:00
parent bbd409d274
commit 6b3f11493d
2 changed files with 902 additions and 1055 deletions

File diff suppressed because one or more lines are too long

View file

@ -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();