summaryrefslogtreecommitdiff
path: root/p11-kit/test-transport.c
diff options
context:
space:
mode:
Diffstat (limited to 'p11-kit/test-transport.c')
-rw-r--r--p11-kit/test-transport.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/p11-kit/test-transport.c b/p11-kit/test-transport.c
index 5fde436..397a65a 100644
--- a/p11-kit/test-transport.c
+++ b/p11-kit/test-transport.c
@@ -74,6 +74,7 @@ setup_remote (void *unused)
test.user_config = p11_path_build (test.directory, "pkcs11.conf", NULL);
p11_test_file_write (NULL, test.user_config, data, strlen (data));
+ setenv ("P11_KIT_PRIVATEDIR", BUILDDIR, 1);
data = "remote: |" BUILDDIR "/p11-kit/p11-kit remote " BUILDDIR "/.libs/mock-two.so\n";
p11_test_file_write (test.user_modules, "remote.module", data, strlen (data));