summaryrefslogtreecommitdiff
path: root/t/op/index.t
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2006-07-12 03:01:29 +0300
committerH.Merijn Brand <h.m.brand@xs4all.nl>2006-07-12 06:53:22 +0000
commit250d67eb8e42c118b44bb5437965a1f4a8a0d828 (patch)
treec6ac564b44f2431bc6554af7cebdda630779f5c0 /t/op/index.t
parent6c20a8f90405579db59be381a23b6fc12073fdbd (diff)
downloadperl-250d67eb8e42c118b44bb5437965a1f4a8a0d828.tar.gz
z/OS: t/ - mostly EBCDIC fixes
Message-Id: <200607112101.k6BL1TGr321715@kosh.hut.fi> p4raw-id: //depot/perl@28550
Diffstat (limited to 't/op/index.t')
-rwxr-xr-xt/op/index.t11
1 files changed, 9 insertions, 2 deletions
diff --git a/t/op/index.t b/t/op/index.t
index 88c0372454..b7cdfb0958 100755
--- a/t/op/index.t
+++ b/t/op/index.t
@@ -86,8 +86,15 @@ is(rindex($a, "foo", ), 0);
}
{
- my $search = "foo \xc9 bar";
- my $text = "a\xa3\xa3a $search $search quux";
+ my $search;
+ my $text;
+ if (ord('A') == 193) {
+ $search = "foo \x71 bar";
+ $text = "a\xb1\xb1a $search $search quux";
+ } else {
+ $search = "foo \xc9 bar";
+ $text = "a\xa3\xa3a $search $search quux";
+ }
my $text_utf8 = $text;
utf8::upgrade($text_utf8);