This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Re: Smoke [5.9.3] 25093 FAIL(F) openbsd 3.7 (macppc/1 cpu)
authorSteve Peters <steve@fisharerojo.org>
Fri, 8 Jul 2005 16:42:56 +0000 (11:42 -0500)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Wed, 13 Jul 2005 16:52:48 +0000 (16:52 +0000)
Message-ID: <20050708214256.GA14164@mccoy.peters.homeunix.org>

p4raw-id: //depot/perl@25139

t/io/dup.t
t/io/open.t

index 91e4f26..8247b8e 100755 (executable)
@@ -96,7 +96,7 @@ SKIP: {
     isnt(fileno(F), fileno(STDOUT));
     close F;
 
-    ok(open(F, "<&=STDIN"));
+    ok(open(F, "<&=STDIN")) or _diag $!;
     is(fileno(F), fileno(STDIN));
     close F;
 
index e12b447..f08eed5 100755 (executable)
@@ -234,7 +234,7 @@ like( $@, qr/Bad filehandle:\s+afile/,          '       right error' );
     }
 
     # used to try to open a file [perl #17830]
-    ok( open(my $stdin,  "<&", fileno STDIN),   'dup fileno(STDIN) into lexical fh');
+    ok( open(my $stdin,  "<&", fileno STDIN),   'dup fileno(STDIN) into lexical fh') or _diag $!;
 }
 
 SKIP: {