Add test creating multiple plugins with load dependencies.

If we load plugins purely alphabetically, the 1st Zeek run in the test
will success while the 2nd will fail.
This commit is contained in:
Robin Sommer 2020-11-06 11:45:23 +00:00
parent f70a7cb4d3
commit 3ebfcdf0ae
9 changed files with 167 additions and 0 deletions

View file

@ -0,0 +1,17 @@
#pragma once
#include <zeek/plugin/Plugin.h>
namespace btest::plugin::Testing_Plugin2 {
class Plugin : public zeek::plugin::Plugin
{
protected:
// Overridden from zeek::plugin::Plugin.
zeek::plugin::Configuration Configure() override;
};
extern Plugin plugin;
}