From: Rafael Garcia-Suarez Date: Tue, 19 Nov 2002 22:32:52 +0000 (+0000) Subject: t/io/crlf.t failed with miniperl. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=31d12d11428d1c60a1eda9dedfa22782c4331ecb;p=p5sagit%2Fp5-mst-13.2.git t/io/crlf.t failed with miniperl. p4raw-id: //depot/perl@18164 --- diff --git a/t/io/crlf.t b/t/io/crlf.t index 484596b..96f7ed7 100644 --- a/t/io/crlf.t +++ b/t/io/crlf.t @@ -30,7 +30,9 @@ if (find PerlIO::Layer 'perlio') { { local $/; $text = } is(count_chars($text, "\015\012"), 2000); + SKIP: { + if ($^X =~ /\bminiperl\b/) { skip(q/miniperl can't load PerlIO layers/) } my $fcontents = join "", map {"$_\r\n"} "a".."zzz"; open my $fh, "<:crlf", \$fcontents; local $/ = "xxx";