perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From steve...@apache.org
Subject svn commit: r1528881 - in /perl/modperl/trunk: Changes t/conf/extra.conf.in
Date Thu, 03 Oct 2013 14:15:07 GMT
Author: stevehay
Date: Thu Oct  3 14:15:07 2013
New Revision: 1528881

URL: http://svn.apache.org/r1528881
Log:
Fix t/compat/apache_file.t on Windows.

Modified:
    perl/modperl/trunk/Changes
    perl/modperl/trunk/t/conf/extra.conf.in

Modified: perl/modperl/trunk/Changes
URL: http://svn.apache.org/viewvc/perl/modperl/trunk/Changes?rev=1528881&r1=1528880&r2=1528881&view=diff
==============================================================================
--- perl/modperl/trunk/Changes (original)
+++ perl/modperl/trunk/Changes Thu Oct  3 14:15:07 2013
@@ -12,6 +12,11 @@ Also refer to the Apache::Test changes l
 
 =item 2.0.9-dev
 
+Fix t/compat/apache_file.t on Windows. Apache::File->tmpfile() wants TMPDIR
+or TEMP from the environment, or else defaults to /tmp. The latter is no
+good on Windows, so make sure the environment variables are passed through.
+(TEMP should be set to something suitable on Windows.) [Steve Hay]
+
 Fix t/api/err_headers_out.t with HTTP::Headers > 6.00. [Rolando
 <rolosworld@gmail.com>]
 

Modified: perl/modperl/trunk/t/conf/extra.conf.in
URL: http://svn.apache.org/viewvc/perl/modperl/trunk/t/conf/extra.conf.in?rev=1528881&r1=1528880&r2=1528881&view=diff
==============================================================================
--- perl/modperl/trunk/t/conf/extra.conf.in (original)
+++ perl/modperl/trunk/t/conf/extra.conf.in Thu Oct  3 14:15:07 2013
@@ -94,10 +94,14 @@ PerlModule TestExit::FromPerlModule
     PerlResponseHandler Apache2::Status
 </Location>
 
-# for TestApache2::util
+# for TestApache::util
 PerlPassEnv LC_CTYPE
 PerlPassEnv LC_TIME
 
+# for TestCompat::apache_file
+PerlPassEnv TMPDIR
+PerlPassEnv TEMP
+
 # see t/filter/out_apache.t
 <VirtualHost filter_out_apache>
     <IfModule mod_include.c>



Mime
View raw message