summaryrefslogtreecommitdiff
path: root/p11-kit/tests/test-init.c
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2013-01-24 09:30:33 +0100
committerStef Walter <stefw@gnome.org>2013-02-04 10:55:47 +0100
commit43a3f5df8124bb85567feb18975d19fa1b639b9f (patch)
tree1911b6dd6627d91d6fc4a320c73664e280fca35c /p11-kit/tests/test-init.c
parent7ddff6795830deff6ec5fb1b8b0c704fbdea2c97 (diff)
Add more mock-module implementation
* Move mock code into the common/ directory to be used by multiple components of p11-kit
Diffstat (limited to 'p11-kit/tests/test-init.c')
-rw-r--r--p11-kit/tests/test-init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/p11-kit/tests/test-init.c b/p11-kit/tests/test-init.c
index 7664666..1c13b15 100644
--- a/p11-kit/tests/test-init.c
+++ b/p11-kit/tests/test-init.c
@@ -48,7 +48,7 @@
#include "p11-kit/p11-kit.h"
-#include "mock-module.h"
+#include "mock.h"
CK_FUNCTION_LIST module;
@@ -281,7 +281,7 @@ test_load_and_initialize (CuTest *tc)
rv = (module->C_GetInfo) (&info);
CuAssertTrue (tc, rv == CKR_OK);
- ret = memcmp (info.manufacturerID, "MOCK MANUFACTURER ", 32);
+ ret = memcmp (info.manufacturerID, "MOCK MANUFACTURER ", 32);
CuAssertTrue (tc, ret == 0);
rv = p11_kit_finalize_module (module);