X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FFileHandle.t;h=ddbd94474ee9848ac461bafe22023a019f8959d5;hb=7d161605f8e10199e4c300f0a0e3d3c71656ee35;hp=c994c8b4485c9a944e0d72fa8d8926fd1e2c4c75;hpb=b62e3068b8477412c1bf4f7b95e7ddafa8c143a1;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/FileHandle.t b/lib/FileHandle.t index c994c8b..ddbd944 100755 --- a/lib/FileHandle.t +++ b/lib/FileHandle.t @@ -22,7 +22,7 @@ autoflush STDOUT 1; $mystdout = new_from_fd FileHandle 1,"w"; $| = 1; autoflush $mystdout; -print "1..11\n"; +print "1..12\n"; print $mystdout "ok ".fileno($mystdout)."\n"; @@ -93,3 +93,5 @@ else { exit(0); } } + +print FileHandle->new('','r') ? "not ok 12\n" : "ok 12\n";