mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

This was brought up on Slack as a potential source of confusion during development as it's not visible when plugin directories are ignored outside of looking into the plugin debug stream. I'd actually prefer to just FatalError() this, but a warning seems reasonably visible for interactive usage.
8 lines
464 B
Text
8 lines
464 B
Text
# @TEST-DOC: Loading two plugins with the same name triggers a warning.
|
|
|
|
# @TEST-EXEC: ${DIST}/auxil/zeek-aux/plugin-support/init-plugin -u . Demo Foo
|
|
# @TEST-EXEC: cp -r %DIR/pktsrc-plugin/* .
|
|
# @TEST-EXEC: ./configure --zeek-dist=${DIST} && make
|
|
# @TEST-EXEC: cp -R build build_backup
|
|
# @TEST-EXEC: ZEEK_PLUGIN_PATH=`pwd`/build_backup:`pwd`/build zeek -NN Demo::Foo >output 2>&1
|
|
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff output
|