Noise with -w.
Jarkko Hietaniemi [Mon, 25 Mar 2002 19:16:21 +0000 (19:16 +0000)]
p4raw-id: //depot/perl@15501

ext/PerlIO/PerlIO.t

index 5514191..6a59b9e 100644 (file)
@@ -89,6 +89,7 @@ ok(close($utffh));
     open STDOUT,  ">&OLDOUT" or die "cannot dup OLDOUT: $!";
     # report after STDOUT is restored
     ok($status, '       re-open STDOUT');
+    close OLDOUT;
 }
 
 # in-memory open