summaryrefslogtreecommitdiff
path: root/gcr/tests/test-trust.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcr/tests/test-trust.c')
-rw-r--r--gcr/tests/test-trust.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcr/tests/test-trust.c b/gcr/tests/test-trust.c
index 9459905..04147cd 100644
--- a/gcr/tests/test-trust.c
+++ b/gcr/tests/test-trust.c
@@ -90,6 +90,8 @@ teardown (Test *test, gconstpointer unused)
rv = (test->funcs.C_Finalize) (NULL);
gck_assert_cmprv (rv, ==, CKR_OK);
+
+ _gcr_uninitialize_library ();
}
static void
@@ -322,5 +324,5 @@ main (int argc, char **argv)
g_test_add ("/gcr/trust/is_certificate_anchored_yes", Test, NULL, setup, test_is_certificate_anchored_yes, teardown);
g_test_add ("/gcr/trust/is_certificate_anchored_async", Test, NULL, setup, test_is_certificate_anchored_async, teardown);
- return egg_tests_run_in_thread_with_loop ();
+ return egg_tests_run_with_loop ();
}