From 2c4f5ed657976d868c33f0ddf430477ee2bf0191 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 8 Jul 2013 16:56:40 +0200 Subject: trust: Explicitly specify which formats parser should parse --- trust/tests/test-module.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'trust/tests/test-module.c') diff --git a/trust/tests/test-module.c b/trust/tests/test-module.c index f1813a3..33cdd48 100644 --- a/trust/tests/test-module.c +++ b/trust/tests/test-module.c @@ -160,6 +160,7 @@ setup_writable (void *unused) test.cache = p11_asn1_cache_new (); test.parser = p11_parser_new (test.cache); + p11_parser_formats (test.parser, p11_parser_format_persist, NULL); } static void @@ -1108,6 +1109,7 @@ test_create_and_write (void) /* The expected file name */ path = p11_path_build (test.directory, "yay.p11-kit", NULL); + p11_parser_formats (test.parser, p11_parser_format_persist, NULL); ret = p11_parse_file (test.parser, path, 0); assert_num_eq (ret, P11_PARSE_SUCCESS); free (path); -- cgit v1.1