diff options
Diffstat (limited to 'trust/tests/test-module.c')
| -rw-r--r-- | trust/tests/test-module.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/trust/tests/test-module.c b/trust/tests/test-module.c index 80747da..5920076 100644 --- a/trust/tests/test-module.c +++ b/trust/tests/test-module.c @@ -138,9 +138,7 @@ setup_writable (void *unused) rv = C_GetFunctionList (&test.module); assert (rv == CKR_OK); - test.directory = p11_path_expand ("$TEMP/test-module.XXXXXX"); - if (!mkdtemp (test.directory)) - assert_not_reached (); + test.directory = p11_test_directory ("test-module"); memset (&args, 0, sizeof (args)); if (asprintf (&arguments, "paths='%s'", test.directory) < 0) |
