zeek/testing/btest/supervisor
Christian Kreibich c7860e3238 Expand Supervisor to support loading additional scripts before user scripts
In supervised nodes, the Supervisor's NodeConfig$scripts vector adds scripts to
the end of the user-provided scripts (options.scripts_to_load), so they load
_after_ any user-provided ones. This can cause confusing redef pitfalls when
users expect their customizations to run last, as they normally do.

This adds two members in Supervisor::NodeConfig, `addl_base_scripts` and
`addl_user_scripts`, to store scripts to load before and after the user scripts,
respectively. The latter serves the same purpose as the old `scripts` member,
which is still there but deprecated (in scriptland only). It functions as
before, after any scripts added via `addl_user_scripts`.
2022-09-02 10:23:35 -07:00
..
config-bare-mode.zeek Change test so included plugins can load notice framework. 2022-05-16 09:07:11 +02:00
config-cluster-leftover-log-archival.zeek Add Log::rotation_format_func and Log::default_rotation_dir options 2020-07-07 18:42:37 -07:00
config-cluster-log-archival.zeek Add Log::rotation_format_func and Log::default_rotation_dir options 2020-07-07 18:42:37 -07:00
config-cluster.zeek Improve btest timeouts 2020-02-06 17:50:17 -08:00
config-directory.zeek Improve btest timeouts 2020-02-06 17:50:17 -08:00
config-env.zeek Add support for setting environment variables via supervisor 2021-07-08 13:12:53 -07:00
config-output-redirect.zeek Improve btest timeouts 2020-02-06 17:50:17 -08:00
config-scripts.zeek Expand Supervisor to support loading additional scripts before user scripts 2022-09-02 10:23:35 -07:00
create.zeek updates to test suite tests for compatibility with upcoming ZAM functionality 2021-06-01 09:25:30 -07:00
destroy.zeek Improve btest timeouts 2020-02-06 17:50:17 -08:00
node_status.zeek Add Supervisor::node_status notification event 2022-05-30 21:36:35 -07:00
output-redirect-hook.zeek General btest cleanup 2020-08-11 11:26:22 -07:00
output-redirect.zeek General btest cleanup 2020-08-11 11:26:22 -07:00
restart.zeek Improve btest timeouts 2020-02-06 17:50:17 -08:00
revive-leaf.zeek Improve btest timeouts 2020-02-06 17:50:17 -08:00
revive-stem.zeek Improve btest timeouts 2020-02-06 17:50:17 -08:00
status.zeek Improve btest timeouts 2020-02-06 17:50:17 -08:00