diff options
author | bojan <bojan@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-01 06:49:07 +0000 |
---|---|---|
committer | bojan <bojan@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-01 06:49:07 +0000 |
commit | 27405c490f3ca2f98028978c44f818c0df7f0ab1 (patch) | |
tree | 07537138e4e780a127b606407e8fc7e5bec28c3f /test/testsock.c | |
parent | 7eadc0a6fafb8cf0c79c65e4503add8d8f29cce7 (diff) | |
download | libapr-27405c490f3ca2f98028978c44f818c0df7f0ab1.tar.gz |
Pass environment to children in testsock, testshm and testproc.
Further fixes for PR 47590.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@809854 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testsock.c')
-rw-r--r-- | test/testsock.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/testsock.c b/test/testsock.c index 1b19141ad..a2d531923 100644 --- a/test/testsock.c +++ b/test/testsock.c @@ -45,6 +45,9 @@ static void launch_child(abts_case *tc, apr_proc_t *proc, const char *arg1, apr_ rv = apr_procattr_error_check_set(procattr, 1); APR_ASSERT_SUCCESS(tc, "Couldn't set error check in procattr", rv); + rv = apr_procattr_cmdtype_set(procattr, APR_PROGRAM_ENV); + APR_ASSERT_SUCCESS(tc, "Couldn't set copy environment", rv); + args[0] = "sockchild" EXTENSION; args[1] = arg1; args[2] = socket_name; |