Message-ID: <
20050708214256.GA14164@mccoy.peters.homeunix.org>
p4raw-id: //depot/perl@25139
isnt(fileno(F), fileno(STDOUT));
close F;
- ok(open(F, "<&=STDIN"));
+ ok(open(F, "<&=STDIN")) or _diag $!;
is(fileno(F), fileno(STDIN));
close F;
}
# 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: {