From 6bebd5747aa49d4a124d23d4967f65a771799fe5 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Sat, 1 Jun 2019 09:17:00 +0200 Subject: tests: Add tmpdir argument to p11_test_copy_setgid To prevent BUILDDIR being embedded in the library. --- common/test-compat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/test-compat.c') 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; -- cgit v1.1