From 205ed0e0e26010150950e9e963a9a36693b5f71e Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sun, 3 Mar 2013 10:05:03 +0100 Subject: Initialize modules correctly in tests This fixes hangs when running tests on windows --- tools/tests/test-x509.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/tests/test-x509.c') diff --git a/tools/tests/test-x509.c b/tools/tests/test-x509.c index 0367cbd..f3585f1 100644 --- a/tools/tests/test-x509.c +++ b/tools/tests/test-x509.c @@ -256,6 +256,8 @@ main (void) int ret; putenv ("P11_KIT_STRICT=1"); + p11_library_init (); + mock_module_init (); p11_debug_init (); SUITE_ADD_TEST (suite, test_file); -- cgit v1.1