summaryrefslogtreecommitdiff
path: root/tests/uri-test.c
diff options
context:
space:
mode:
authorStef Walter <stefw@collabora.co.uk>2011-10-24 08:05:43 +0200
committerStef Walter <stefw@collabora.co.uk>2011-10-24 08:05:43 +0200
commit5507dc4946f0a68cece5ec9e7096e0f9b8c55984 (patch)
treed3921c57fabb04aceedf052d051ffa77f22f4b1e /tests/uri-test.c
parentdb92b76e3acb11e330309ebce071ec2e61400a71 (diff)
Rename non-static functions to have a _p11_xxx prefix.
* Work around issues with brain-dead linkers not respecting the libtool -export-symbol-regex argument https://bugs.freedesktop.org/show_bug.cgi?id=42020
Diffstat (limited to 'tests/uri-test.c')
-rw-r--r--tests/uri-test.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/uri-test.c b/tests/uri-test.c
index 0e8c718..0d57835 100644
--- a/tests/uri-test.c
+++ b/tests/uri-test.c
@@ -40,7 +40,8 @@
#include <stdio.h>
#include <stdlib.h>
-#include "uri.h"
+#include "p11-kit/uri.h"
+#include "p11-kit/private.h"
static int
is_module_empty (P11KitUri *uri)
@@ -1159,6 +1160,8 @@ main (void)
CuSuite* suite = CuSuiteNew ();
int ret;
+ _p11_library_init ();
+
SUITE_ADD_TEST (suite, test_uri_parse);
SUITE_ADD_TEST (suite, test_uri_parse_bad_scheme);
SUITE_ADD_TEST (suite, test_uri_parse_with_label);