summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-05-20 00:41:16 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-05-20 00:41:16 +0000
commit66a914dd4633a06f77509ed027e4d21f4571f0eb (patch)
treea9ab92c99bc653efbd424904acab9fc0d6669b1f /t
parentad639c021cb29832f2e34a9b956b570490656795 (diff)
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
Diffstat (limited to 't')
-rw-r--r--t/10-form.t5
1 files 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];
}