From 9ba8831b3b2daae9ee9c5fa1535754eb048b8f9b Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Fri, 13 Jul 2001 11:49:50 +0000 Subject: [PATCH] Test the encoding transform only iff we have PerlIO, noticed by H. Merijn Brand. p4raw-id: //depot/perl@11348 --- ext/PerlIO/t/encoding.t | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ext/PerlIO/t/encoding.t b/ext/PerlIO/t/encoding.t index 342a315..debd2bc 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$$"; -- 2.7.4