summaryrefslogtreecommitdiff
path: root/p11-kit
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2019-06-01 09:17:00 +0200
committerDaiki Ueno <ueno@gnu.org>2019-06-18 14:17:28 +0200
commit6bebd5747aa49d4a124d23d4967f65a771799fe5 (patch)
treeecaf0c0a800f34e262d16dbaa4b3e6deeef4a5f4 /p11-kit
parent51382cd59c89e862443421a9d697a709f2244f36 (diff)
tests: Add tmpdir argument to p11_test_copy_setgid
To prevent BUILDDIR being embedded in the library.
Diffstat (limited to 'p11-kit')
-rw-r--r--p11-kit/test-conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/p11-kit/test-conf.c b/p11-kit/test-conf.c
index a140aaa..f4ef0f6 100644
--- a/p11-kit/test-conf.c
+++ b/p11-kit/test-conf.c
@@ -410,7 +410,7 @@ test_setuid (void)
ret = p11_test_run_child (args, true);
assert_num_eq (ret, 33);
- path = p11_test_copy_setgid (args[0]);
+ path = p11_test_copy_setgid (args[0], BUILDDIR);
if (path == NULL)
return;