6 use Test::More 'no_plan';
14 local $TODO = "[perl #56644] PerlIO resource leaks on open() and then :pop in :unix and :stdio";
15 foreach my $layer(qw(:unix :stdio :perlio :crlf)){
16 my $base_fd = do{ open my $in, '<', $0 or die $!; fileno $in };
19 open my $fh, "<$layer", $0 or die $!;
21 is fileno($fh), $base_fd, $layer;