From: Ævar Arnfjörð Bjarmason Date: Tue, 6 Apr 2010 13:14:39 +0000 (+0000) Subject: Amend bcbb2654: Use a tempdir() template so it's clear the Moose tests own the files X-Git-Tag: 1.02~14 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e82d89446100dbc199f17814f5adfb8d6b724728;p=gitmo%2FMoose.git Amend bcbb2654: Use a tempdir() template so it's clear the Moose tests own the files --- diff --git a/t/060_compat/001_module_refresh_compat.t b/t/060_compat/001_module_refresh_compat.t index dae9fa6..6e88af9 100644 --- a/t/060_compat/001_module_refresh_compat.t +++ b/t/060_compat/001_module_refresh_compat.t @@ -41,7 +41,7 @@ and actually change the module itself. =cut -my $dir = tempdir CLEANUP => 1; +my $dir = tempdir( "MooseTest-XXXXX", CLEANUP => 1, TMPDIR => 1 ); push @INC, $dir; my $test_module_file = File::Spec->catdir($dir, 'TestBaz.pm');