summaryrefslogtreecommitdiff
path: root/tools/tests/test-save.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 /tools/tests/test-save.c
parent6c55425a7de23a71d0abc3137f0015e878188bae (diff)
Initialize modules correctly in tests
This fixes hangs when running tests on windows
Diffstat (limited to 'tools/tests/test-save.c')
-rw-r--r--tools/tests/test-save.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/tests/test-save.c b/tools/tests/test-save.c
index 4ceb4a8..41f4e08 100644
--- a/tools/tests/test-save.c
+++ b/tools/tests/test-save.c
@@ -490,6 +490,8 @@ main (void)
CuSuite* suite = CuSuiteNew ();
int ret;
+ p11_library_init ();
+
SUITE_ADD_TEST (suite, test_file_write);
SUITE_ADD_TEST (suite, test_file_exists);
SUITE_ADD_TEST (suite, test_file_bad_directory);