diff options
Diffstat (limited to 'ext/PerlIO')
-rw-r--r-- | ext/PerlIO/t/encoding.t | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/PerlIO/t/encoding.t b/ext/PerlIO/t/encoding.t index 342a315a54..debd2bc489 100644 --- a/ext/PerlIO/t/encoding.t +++ b/ext/PerlIO/t/encoding.t @@ -1,3 +1,14 @@ +#!./perl + +BEGIN { + chdir 't' if -d 't'; + @INC = '../lib'; + unless (find PerlIO::Layer 'perlio') { + print "1..0 # Skip: not perlio\n"; + exit 0; + } +} + print "1..8\n"; my $grk = "grk$$"; |