summaryrefslogtreecommitdiff
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
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
-rw-r--r--CHANGES4
-rw-r--r--test/testpipe.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/CHANGES b/CHANGES
index 28904ea98..7b6bf88fa 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,8 +1,8 @@
-*- coding: utf-8 -*-
Changes for APR 1.4.0
- *) Pass default environment to testflock and testoc children, so that
- tests run when APR is compiled with Intel C Compiler.
+ *) Pass default environment to testflock, testoc and testpipe children,
+ so that tests run when APR is compiled with Intel C Compiler.
[Bojan Smojver]
*) More elaborate detection for dup3(), accept4() and epoll_create1().
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);