diff --git a/test/modules/misc/tls.c b/test/modules/misc/tls.c index 3dc0e10d66..cd381c21f1 100644 --- a/test/modules/misc/tls.c +++ b/test/modules/misc/tls.c @@ -34,6 +34,8 @@ #endif #include +#include "../../libvlc/test.h" + #include #include #include @@ -131,7 +133,7 @@ int main(void) char *alp; int val; - setenv("VLC_PLUGIN_PATH", "../modules", 1); + test_setup(); /*** Tests with normal certs database - server cert not acceptable. ***/ vlc = libvlc_new(0, NULL);