summaryrefslogtreecommitdiff
path: root/ext/PerlIO-encoding
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2014-10-16 21:05:14 -0600
committerKarl Williamson <khw@cpan.org>2015-03-14 22:59:44 -0600
commit7e56ff28b151b8afcdd85f6556e7fb4ed91401e2 (patch)
treee9162a70500c5cdbddeff13c55e0e3ddbc62d604 /ext/PerlIO-encoding
parent43ab143da1a8f440550f595c17a52bb817585047 (diff)
downloadperl-7e56ff28b151b8afcdd85f6556e7fb4ed91401e2.tar.gz
PerlIO-encoding/t/nolooping.t: Skip on EBCDIC platform
Diffstat (limited to 'ext/PerlIO-encoding')
-rw-r--r--ext/PerlIO-encoding/t/nolooping.t9
1 files changed, 5 insertions, 4 deletions
diff --git a/ext/PerlIO-encoding/t/nolooping.t b/ext/PerlIO-encoding/t/nolooping.t
index 4acb0f59d7..5e262be7f4 100644
--- a/ext/PerlIO-encoding/t/nolooping.t
+++ b/ext/PerlIO-encoding/t/nolooping.t
@@ -10,10 +10,11 @@ BEGIN {
use Config;
-use Test::More $Config{useperlio}
- ? (tests => 1)
- : (skip_all => 'No PerlIO enabled');
-
+use Test::More (ord("A") == 65 && $Config{useperlio})
+ ? (tests => 1)
+ : (skip_all => '(No PerlIO enabled;'
+ . ' or is EBCDIC platform which doesnt have'
+ . ' "use encoding" used by open ":locale")');
BEGIN {
$SIG{__WARN__} = sub { $warn .= $_[0] };
}