summaryrefslogtreecommitdiff
path: root/tests/test-modules.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-modules.c')
-rw-r--r--tests/test-modules.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-modules.c b/tests/test-modules.c
index 1debed0..f755298 100644
--- a/tests/test-modules.c
+++ b/tests/test-modules.c
@@ -142,7 +142,7 @@ test_disable (CuTest *tc)
*/
modules = initialize_and_get_modules (tc);
- CuAssertTrue (tc, lookup_module_with_name (tc, modules, "two") != NULL);
+ CuAssertTrue (tc, lookup_module_with_name (tc, modules, "two.badname") != NULL);
finalize_and_free_modules (tc, modules);
/*
@@ -155,7 +155,7 @@ test_disable (CuTest *tc)
p11_kit_set_progname ("test-disable");
modules = initialize_and_get_modules (tc);
- CuAssertTrue (tc, lookup_module_with_name (tc, modules, "two") == NULL);
+ CuAssertTrue (tc, lookup_module_with_name (tc, modules, "two.badname") == NULL);
finalize_and_free_modules (tc, modules);
p11_kit_set_progname (NULL);