summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorbojan <bojan@13f79535-47bb-0310-9956-ffa450edef68>2009-08-03 23:47:07 +0000
committerbojan <bojan@13f79535-47bb-0310-9956-ffa450edef68>2009-08-03 23:47:07 +0000
commit31c64529078507be4d198520b754922c81f95f6c (patch)
tree0fbb8f2cfad44b7e178e1af8bbff0ef6670117a8 /test
parenta6606a99f1b7ae3009cccc9120bbe8270f932273 (diff)
downloadlibapr-31c64529078507be4d198520b754922c81f95f6c.tar.gz
Backport r800627 from the trunk.
One more place where passing in the environment may help with ICC. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@800628 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r--test/testpipe.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/testpipe.c b/test/testpipe.c
index 819c8aa27..a89d3d831 100644
--- a/test/testpipe.c
+++ b/test/testpipe.c
@@ -146,6 +146,9 @@ static void test_pipe_writefull(abts_case *tc, void *data)
APR_CHILD_BLOCK);
ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
+ rv = apr_procattr_cmdtype_set(procattr, APR_PROGRAM_ENV);
+ APR_ASSERT_SUCCESS(tc, "Couldn't set copy environment", rv);
+
rv = apr_procattr_error_check_set(procattr, 1);
ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);