6 use Test::More 'no_plan';
14 foreach my $layer(qw(:unix :stdio :perlio :crlf)){
15 my $base_fd = do{ open my $in, '<', $0 or die $!; fileno $in };
19 if ($_ > 1 && $layer =~ /^:(unix|stdio)$/) {
20 $TODO = "[perl #56644] PerlIO resource leaks on open() and then :pop in :unix and :stdio"
22 open my $fh, "<$layer", $0 or die $!;
24 is fileno($fh), $base_fd, $layer;