You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bo...@apache.org on 2009/08/04 01:45:28 UTC
svn commit: r800627 - in /apr/apr/trunk: CHANGES test/testpipe.c
Author: bojan
Date: Mon Aug 3 23:45:27 2009
New Revision: 800627
URL: http://svn.apache.org/viewvc?rev=800627&view=rev
Log:
One more place where passing in the environment may help with ICC.
Modified:
apr/apr/trunk/CHANGES
apr/apr/trunk/test/testpipe.c
Modified: apr/apr/trunk/CHANGES
URL: http://svn.apache.org/viewvc/apr/apr/trunk/CHANGES?rev=800627&r1=800626&r2=800627&view=diff
==============================================================================
--- apr/apr/trunk/CHANGES [utf-8] (original)
+++ apr/apr/trunk/CHANGES [utf-8] Mon Aug 3 23:45:27 2009
@@ -1,8 +1,8 @@
-*- coding: utf-8 -*-
Changes for APR 2.0.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]
*) Make sure that "make check" is used in the RPM spec file, so that
Modified: apr/apr/trunk/test/testpipe.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/test/testpipe.c?rev=800627&r1=800626&r2=800627&view=diff
==============================================================================
--- apr/apr/trunk/test/testpipe.c (original)
+++ apr/apr/trunk/test/testpipe.c Mon Aug 3 23:45:27 2009
@@ -146,6 +146,9 @@
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);