Close file before unlinking (on Win32 at least!)
Steve Hay [Fri, 11 Aug 2006 12:49:00 +0000 (12:49 +0000)]
p4raw-id: //depot/perl@28694

t/op/stat.t

index bcf5bd1..c3df450 100755 (executable)
@@ -493,6 +493,7 @@ SKIP: {
     my @thwap = stat *F{IO};
     ok(@thwap, "stat(*F{IO}) works");    
     ok( -f *F{IO} , "single file tests work with *F{IO}");
+    close F;
     unlink $tmpfile;
 
     #PVIO's hold dirhandle information, so let's test them too.