[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [1221] branches/1.2/t/10-form.t



Revision: 1221
          http://svn.sourceforge.net/ledger-smb/?rev=1221&view=rev
Author:   tetragon
Date:     2007-05-19 17:41:16 -0700 (Sat, 19 May 2007)

Log Message:
-----------
Adjust TMPDIR location for trapping

Modified Paths:
--------------
    branches/1.2/t/10-form.t

Modified: branches/1.2/t/10-form.t
===================================================================
--- branches/1.2/t/10-form.t	2007-05-20 00:34:30 UTC (rev 1220)
+++ branches/1.2/t/10-form.t	2007-05-20 00:41:16 UTC (rev 1221)
@@ -73,6 +73,9 @@
 
 use strict;
 use warnings;
+
+$ENV{TMPDIR} = 't/var';
+
 use Test::More;
 plan skip_all => 'Trap tests could crash Perl on Windows' if $^O eq 'MSWin32';
 eval "use Test::Trap";
@@ -85,8 +88,6 @@
 
 use LedgerSMB::Form;
 
-$ENV{TMPDIR} = "t/var";
-
 sub form_info_func {
 	return $_[0];
 }


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.