libhydra: Move kernel interface to libcharon
[strongswan.git] / src / libcharon / plugins / vici / vici_tests.c
index ec5afa4..d1f8097 100644 (file)
@@ -16,7 +16,6 @@
 #include <test_runner.h>
 
 #include <daemon.h>
-#include <hydra.h>
 
 /* declare test suite constructors */
 #define TEST_SUITE(x) test_suite_t* x();
@@ -32,17 +31,10 @@ static test_configuration_t tests[] = {
 
 static bool test_runner_init(bool init)
 {
-       if (init)
-       {
-               libhydra_init("vici-tests");
-               libcharon_init("vici-tests");
-       }
-       else
+       if (!init)
        {
                lib->processor->set_threads(lib->processor, 0);
                lib->processor->cancel(lib->processor);
-               libcharon_deinit();
-               libhydra_deinit();
        }
        return TRUE;
 }