apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject svn commit: r799497 - in /apr/apr/trunk: CHANGES test/testflock.c test/testoc.c
Date Fri, 31 Jul 2009 03:05:47 GMT
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);



Mime
View raw message