diff options
author | Daiki Ueno <dueno@redhat.com> | 2019-06-01 09:17:00 +0200 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2019-06-18 14:17:28 +0200 |
commit | 6bebd5747aa49d4a124d23d4967f65a771799fe5 (patch) | |
tree | ecaf0c0a800f34e262d16dbaa4b3e6deeef4a5f4 /common/test-compat.c | |
parent | 51382cd59c89e862443421a9d697a709f2244f36 (diff) |
tests: Add tmpdir argument to p11_test_copy_setgid
To prevent BUILDDIR being embedded in the library.
Diffstat (limited to 'common/test-compat.c')
-rw-r--r-- | common/test-compat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/test-compat.c b/common/test-compat.c index 8b5d2e6..e1deac8 100644 --- a/common/test-compat.c +++ b/common/test-compat.c @@ -70,7 +70,7 @@ test_getauxval (void) ret = p11_test_run_child (args, true); assert_num_eq (ret, 0); - path = p11_test_copy_setgid (args[0]); + path = p11_test_copy_setgid (args[0], BUILDDIR); if (path == NULL) return; @@ -95,7 +95,7 @@ test_secure_getenv (void) ret = p11_test_run_child (args, true); assert_num_eq (ret, 5); - path = p11_test_copy_setgid (args[0]); + path = p11_test_copy_setgid (args[0], BUILDDIR); if (path == NULL) return; |