diff options
Diffstat (limited to 't/io/layers.t')
-rw-r--r-- | t/io/layers.t | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/t/io/layers.t b/t/io/layers.t index 4e4204377e..d0b55f1742 100644 --- a/t/io/layers.t +++ b/t/io/layers.t @@ -13,11 +13,8 @@ BEGIN { # Makes testing easier. $ENV{PERLIO} = 'stdio' if exists $ENV{PERLIO} && $ENV{PERLIO} eq ''; - if (exists $ENV{PERLIO} && $ENV{PERLIO} !~ /^(stdio|perlio|mmap)$/) { - # We are not prepared for anything else. - print "1..0 # PERLIO='$ENV{PERLIO}' unknown\n"; - exit 0; - } + skip_all("PERLIO='$ENV{PERLIO}' unknown") + if exists $ENV{PERLIO} && $ENV{PERLIO} !~ /^(stdio|perlio|mmap)$/; $PERLIO = exists $ENV{PERLIO} ? $ENV{PERLIO} : "(undef)"; } |