[Bps-public-commit] r17063 - in Prophet/trunk: .

sunnavy at bestpractical.com sunnavy at bestpractical.com
Tue Dec 2 06:47:39 EST 2008


Author: sunnavy
Date: Tue Dec  2 06:47:38 2008
New Revision: 17063

Modified:
   Prophet/trunk/   (props changed)
   Prophet/trunk/t/aliases.t

Log:
 r17980 at sunnavys-mb:  sunnavy | 2008-12-02 19:39:34 +0800
 clean tmpfile


Modified: Prophet/trunk/t/aliases.t
==============================================================================
--- Prophet/trunk/t/aliases.t	(original)
+++ Prophet/trunk/t/aliases.t	Tue Dec  2 06:47:38 2008
@@ -5,7 +5,7 @@
 use Prophet::Test 'no_plan';
 use File::Temp qw/tempfile/;
 
-$ENV{'PROPHET_APP_CONFIG'} = (tempfile())[1];
+$ENV{'PROPHET_APP_CONFIG'} = (tempfile(UNLINK => 1))[1];
 
 use_ok('Prophet::CLI');
 use_ok('Prophet::Config');
@@ -78,3 +78,4 @@
 alias pull -l = pull --local
 alias pull -a = pull --all
 EOF
+



More information about the Bps-public-commit mailing list