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/07/31 05:05:47 UTC
svn commit: r799497 - in /apr/apr/trunk: CHANGES test/testflock.c
test/testoc.c
Author: bojan
Date: Fri Jul 31 03:05:46 2009
New Revision: 799497
URL: http://svn.apache.org/viewvc?rev=799497&view=rev
Log:
Pass default environment to testflock and testoc (for ICC compiled stuff).
Modified:
apr/apr/trunk/CHANGES
apr/apr/trunk/test/testflock.c
apr/apr/trunk/test/testoc.c
Modified: apr/apr/trunk/CHANGES
URL: http://svn.apache.org/viewvc/apr/apr/trunk/CHANGES?rev=799497&r1=799496&r2=799497&view=diff
==============================================================================
--- apr/apr/trunk/CHANGES [utf-8] (original)
+++ apr/apr/trunk/CHANGES [utf-8] Fri Jul 31 03:05:46 2009
@@ -1,6 +1,9 @@
-*- coding: utf-8 -*-
Changes for APR 2.0.0
+ *) Pass default environment to testflock and testoc.
+ [Bojan Smojver]
+
*) Make sure that "make check" is used in the RPM spec file, so that
the crypto, dbd and dbm tests pass. [Graham Leggett]
Modified: apr/apr/trunk/test/testflock.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/test/testflock.c?rev=799497&r1=799496&r2=799497&view=diff
==============================================================================
--- apr/apr/trunk/test/testflock.c (original)
+++ apr/apr/trunk/test/testflock.c Fri Jul 31 03:05:46 2009
@@ -39,6 +39,9 @@
APR_NO_PIPE);
APR_ASSERT_SUCCESS(tc, "Couldn't set io in procattr", 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);
APR_ASSERT_SUCCESS(tc, "Couldn't set error check in procattr", rv);
Modified: apr/apr/trunk/test/testoc.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/test/testoc.c?rev=799497&r1=799496&r2=799497&view=diff
==============================================================================
--- apr/apr/trunk/test/testoc.c (original)
+++ apr/apr/trunk/test/testoc.c Fri Jul 31 03:05:46 2009
@@ -73,6 +73,9 @@
APR_NO_PIPE);
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_proc_create(&newproc, TESTBINPATH "occhild" EXTENSION, args, NULL, procattr, p);
ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
ABTS_PTR_NOTNULL(tc, newproc.in);