This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
lib/open.t: Skip a test on EBCDIC because of encoding
authorKarl Williamson <khw@cpan.org>
Fri, 17 Oct 2014 01:37:29 +0000 (19:37 -0600)
committerKarl Williamson <khw@cpan.org>
Sun, 15 Mar 2015 04:59:44 +0000 (22:59 -0600)
lib/open.t

index 0e676eb..a60b72e 100644 (file)
@@ -184,6 +184,8 @@ EOE
 SKIP: {
     skip("no perlio", 1) unless (find PerlIO::Layer 'perlio');
     skip("no Encode", 1) unless $Config{extensions} =~ m{\bEncode\b};
+    skip("EBCDIC platform doesnt have 'use encoding' used by open ':locale'", 1)
+                                                                if $::IS_EBCDIC;
 
     eval q[use Encode::Alias;use open ":std", ":locale"];
     is($@, '', 'can use :std and :locale');