From: Graham Knop Date: Sun, 28 Jun 2015 05:56:17 +0000 (-0400) Subject: close trace file when done with it, so unlink works on windows X-Git-Tag: v0.010004~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bedd77c65682815723b5972a79624c91bde6ad42;p=p5sagit%2FApp-FatPacker.git close trace file when done with it, so unlink works on windows --- diff --git a/t/trace.t b/t/trace.t index 0021597..133c8b0 100755 --- a/t/trace.t +++ b/t/trace.t @@ -20,6 +20,7 @@ sub test_trace { open my $trace, "<", "fatpacker.trace"; my @traced = sort map { chomp; $_ } <$trace>; + close $trace; is_deeply \@traced, \@loaded, "All expected modules loaded for $file"; unlink "fatpacker.trace";