[vlc-commits] test/keystore: add missing test_init()
Thomas Guillem
git at videolan.org
Tue Jan 10 15:34:33 CET 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Jan 10 15:34:03 2017 +0100| [315411766cc8e76345eb6f742a1067a3d3b738a3] | committer: Thomas Guillem
test/keystore: add missing test_init()
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=315411766cc8e76345eb6f742a1067a3d3b738a3
---
test/src/misc/keystore.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/test/src/misc/keystore.c b/test/src/misc/keystore.c
index 9a016e3..ac57f61 100644
--- a/test/src/misc/keystore.c
+++ b/test/src/misc/keystore.c
@@ -23,6 +23,7 @@
#endif
#include <vlc/vlc.h>
+#include "../../libvlc/test.h"
#include "../../../lib/libvlc_internal.h"
#include <vlc_common.h>
@@ -33,10 +34,8 @@
#include <vlc_url.h>
#include <vlc_fs.h>
-#undef NDEBUG
#include <assert.h>
-
struct cred
{
const char *psz_user;
@@ -301,7 +300,7 @@ create_libvlc(int i_vlc_argc, const char *const *ppsz_vlc_argv)
int
main(void)
{
- setenv("VLC_PLUGIN_PATH", "../modules", 1);
+ test_init();
printf("creating tmp plaintext keystore file\n");
char psz_tmp_path[] = "/tmp/libvlc_XXXXXX";
More information about the vlc-commits
mailing list