filecopy.t #3 fails on dos-djgpp
authorLaszlo Molnar <laszlo.molnar@eth.ericsson.se>
Mon, 9 Feb 1998 13:19:45 +0000 (14:19 +0100)
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>
Thu, 12 Feb 1998 16:15:43 +0000 (16:15 +0000)
p4raw-id: //depot/perl@503

t/lib/filecopy.t

index b718215..8a23fb6 100755 (executable)
@@ -13,6 +13,7 @@ use File::Copy;
 
 # First we create a file
 open(F, ">file-$$") or die;
+binmode F; # for DOSISH platforms, because test 3 copies to stdout
 print F "ok 3\n";
 close F;