diff options
author | Daiki Ueno <dueno@redhat.com> | 2019-06-01 12:51:39 +0200 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2019-06-18 14:17:28 +0200 |
commit | 084347319f6e832ec2c36d7b27a64c8f2614f084 (patch) | |
tree | 921d6c9167843414446aad70ef23cd0a898e1243 /p11-kit/test-transport.c | |
parent | 6bebd5747aa49d4a124d23d4967f65a771799fe5 (diff) |
build: Move check_PROGRAMS into subdirectories
Diffstat (limited to 'p11-kit/test-transport.c')
-rw-r--r-- | p11-kit/test-transport.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/p11-kit/test-transport.c b/p11-kit/test-transport.c index 40e5903..a5a93ea 100644 --- a/p11-kit/test-transport.c +++ b/p11-kit/test-transport.c @@ -82,7 +82,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); + setenv ("P11_KIT_PRIVATEDIR", BUILDDIR "/p11-kit", 1); data = "remote: |" BUILDDIR "/p11-kit/p11-kit" EXEEXT " remote " BUILDDIR "/.libs/mock-two" SHLEXT "\n"; p11_test_file_write (test.user_modules, "remote.module", data, strlen (data)); data = "remote: |" BUILDDIR "/p11-kit/p11-kit" EXEEXT " remote " BUILDDIR "/.libs/mock-five" SHLEXT "\nx-init-reserved: initialize-arg"; @@ -195,7 +195,7 @@ launch_server (void) argv[1] = BUILDDIR "/.libs/mock-two.so"; argv[2] = NULL; - rc = execv (BUILDDIR "/p11-kit-remote", argv); + rc = execv (BUILDDIR "/p11-kit/p11-kit-remote", argv); assert_num_cmp (rc, !=, -1); } @@ -228,7 +228,7 @@ setup_remote_unix (void *unused) test.pid = pid; } - setenv ("P11_KIT_PRIVATEDIR", BUILDDIR, 1); + setenv ("P11_KIT_PRIVATEDIR", BUILDDIR "/p11-kit", 1); if (asprintf (&path, "%s/pkcs11", test.directory) < 0) assert_not_reached (); |