diff options
author | Stef Walter <stef@thewalter.net> | 2013-07-08 16:56:40 +0200 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2013-07-08 17:00:19 +0200 |
commit | 2c4f5ed657976d868c33f0ddf430477ee2bf0191 (patch) | |
tree | 2a278879f974691ae31be0853bb9313fb5d36a7f /trust/tests/test-module.c | |
parent | 03787ae83b1911118a7a689c4817bbce1e74dabd (diff) |
trust: Explicitly specify which formats parser should parse
Diffstat (limited to 'trust/tests/test-module.c')
-rw-r--r-- | trust/tests/test-module.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |