From 66a914dd4633a06f77509ed027e4d21f4571f0eb Mon Sep 17 00:00:00 2001 From: tetragon Date: Sun, 20 May 2007 00:41:16 +0000 Subject: Adjust TMPDIR location for trapping git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1221 4979c152-3d1c-0410-bac9-87ea11338e46 --- t/10-form.t | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/t/10-form.t b/t/10-form.t index 0920d058..5a37480c 100644 --- a/t/10-form.t +++ b/t/10-form.t @@ -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 IO::String; use LedgerSMB::Form; -$ENV{TMPDIR} = "t/var"; - sub form_info_func { return $_[0]; } -- cgit v1.2.3