This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
close the Peek.t temp file so the END block can unlink it
authorTony Cook <tony@develop-help.com>
Fri, 24 Aug 2012 07:46:14 +0000 (17:46 +1000)
committerTony Cook <tony@develop-help.com>
Fri, 24 Aug 2012 07:46:14 +0000 (17:46 +1000)
This was leaving detritus on Win32 builds

ext/Devel-Peek/t/Peek.t

index 5a8efe3..6913d59 100644 (file)
@@ -928,6 +928,7 @@ unless ($Config{useithreads}) {
     DeadCode();
     open(STDERR, ">&SAVERR") or die "Can't restore STDERR: $!";
     pass "no crash with DeadCode";
+    close OUT;
 }
 
 done_testing();