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
[perl5.git] / 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');