Put a watchdog on openpid.t: it has been found to hang in some Win32 smokes.
[p5sagit/p5-mst-13.2.git] / t / io / dup.t
old mode 100755 (executable)
new mode 100644 (file)
index ac2f3f4..1328aeb
@@ -35,16 +35,10 @@ $cmd = sprintf $echo, 4;
 print `$cmd`;
 
 $cmd = sprintf "$echo 1>&2", 5;
-$cmd = sprintf $echo, 5 if $^O eq 'MacOS';  # don't know if we can do this ...
 print `$cmd`;
 
 system sprintf $echo, 6;
-if ($^O eq 'MacOS') {
-    system sprintf $echo, 7;
-}
-else {
-    system sprintf "$echo 1>&2", 7;
-}
+system sprintf "$echo 1>&2", 7;
 
 close(STDOUT) or die "Could not close: $!";
 close(STDERR) or die "Could not close: $!";
@@ -54,8 +48,7 @@ open(STDERR,">&DUPERR") or die "Could not open: $!";
 
 if (($^O eq 'MSWin32') || ($^O eq 'NetWare')) { print `type $tempfile` }
 elsif ($^O eq 'VMS')   { system "type $tempfile.;" } # TYPE defaults to .LIS when there is no extension
-elsif ($^O eq 'MacOS') { system "catenate $tempfile" }
-else                   { system "cat $tempfile" }
+else { system "cat $tempfile" }
 
 print STDOUT "ok 8\n";