From c9474683dd3db5ad87227dd3c3734ab31bfc01e9 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 2 Oct 2014 08:22:39 +0200 Subject: common: In tests preserve parent environment for children --- common/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/test.c b/common/test.c index 289b35b..5a1cf72 100644 --- a/common/test.c +++ b/common/test.c @@ -532,7 +532,7 @@ p11_test_run_child (const char **argv, if (child == 0) { if (quiet_out) close (1); /* stdout */ - execve (argv[0], (char **)argv, NULL); + execv (argv[0], (char **)argv); assert_not_reached (); } -- cgit v1.1