This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
DBM_Filter/t/encode.t: temporarily skip until Encode fixed
authorKarl Williamson <khw@cpan.org>
Tue, 3 Mar 2015 05:07:45 +0000 (22:07 -0700)
committerKarl Williamson <khw@cpan.org>
Wed, 18 Mar 2015 15:44:16 +0000 (09:44 -0600)
lib/DBM_Filter/t/encode.t

index 35f501a..37a58ac 100644 (file)
@@ -76,6 +76,10 @@ VerifyData(\%h1,
 eval { $db1->Filter_Pop() };
 is $@, '', "pop the 'utf8' filter" ;
 
+SKIP: {
+    skip "Encode doesn't currently work for most filters on EBCDIC, including 8859-16", 11 if $::IS_EBCDIC || $::IS_EBCDIC;
+    # Actually the only thing failing below is the euro, because that's the
+    # only thing that's added in 8859-16.
 eval { $db1->Filter_Push('encode' => 'iso-8859-16') };
 is $@, '', "push an 'encode' filter (specify iso-8859-16)" ;
 
@@ -114,3 +118,4 @@ undef $db2;
     is $@, '', "untie without inner references" ;
 }
 
+}