diff options
author | Martin Willi <martin@revosec.ch> | 2010-11-23 10:58:39 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2011-01-05 16:45:49 +0100 |
commit | 9a99b745c02f629b2e7fdf22be40e24a2e2d2569 (patch) | |
tree | 809c08747c3fa1b11af4f3cacd1711b65045cfa5 /src | |
parent | 401818651e76404eb57d825681e821f84f8faeda (diff) | |
download | strongswan-9a99b745c02f629b2e7fdf22be40e24a2e2d2569.tar.bz2 strongswan-9a99b745c02f629b2e7fdf22be40e24a2e2d2569.tar.xz |
Preload plugins configured in tests
Diffstat (limited to 'src')
-rw-r--r-- | src/conftest/conftest.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/conftest/conftest.c b/src/conftest/conftest.c index f18ad7e84..304cacf02 100644 --- a/src/conftest/conftest.c +++ b/src/conftest/conftest.c @@ -384,6 +384,11 @@ int main(int argc, char *argv[]) { return 1; } + if (!lib->plugins->load(lib->plugins, NULL, + conftest->test->get_str(conftest->test, "preload", ""))) + { + return 1; + } if (!charon->initialize(charon)) { return 1; |