Browse Source

test: tls: use test_setup() for VLC_PLUGIN_PATH

test_setup() will setup the VLC_PLUGIN_PATH in a reliable way.
pull/162/head
Alexandre Janniaux 2 years ago
committed by Jean-Baptiste Kempf
parent
commit
d2e4baf0e9
  1. 4
      test/modules/misc/tls.c

4
test/modules/misc/tls.c

@ -34,6 +34,8 @@
#endif
#include <poll.h>
#include "../../libvlc/test.h"
#include <vlc_common.h>
#include <vlc_poll.h>
#include <vlc_modules.h>
@ -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);

Loading…
Cancel
Save