summaryrefslogtreecommitdiff
path: root/trust/tests/test-module.c
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2013-03-03 10:05:03 +0100
committerStef Walter <stefw@gnome.org>2013-03-03 10:07:18 +0100
commit205ed0e0e26010150950e9e963a9a36693b5f71e (patch)
tree35f664c72da993e0a398e8e717b7f95ca1fc6adc /trust/tests/test-module.c
parent6c55425a7de23a71d0abc3137f0015e878188bae (diff)
Initialize modules correctly in tests
This fixes hangs when running tests on windows
Diffstat (limited to 'trust/tests/test-module.c')
-rw-r--r--trust/tests/test-module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trust/tests/test-module.c b/trust/tests/test-module.c
index 577ae5a..2e085ba 100644
--- a/trust/tests/test-module.c
+++ b/trust/tests/test-module.c
@@ -345,8 +345,8 @@ main (void)
int ret;
putenv ("P11_KIT_STRICT=1");
+ p11_library_init ();
p11_debug_init ();
- /* p11_message_quiet (); */
SUITE_ADD_TEST (suite, test_find_certificates);
SUITE_ADD_TEST (suite, test_find_builtin);