diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-02-11 23:44:09 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-02-11 23:44:09 +0000 |
commit | 6c8584ec78a6d88676a1e386f72c4c02c94e9a95 (patch) | |
tree | eda2ac6fdc29dbd957c913e3305937de17770a9b /t | |
parent | 9caa78f3ec6917fadd3faa86111398c2f6153e29 (diff) | |
download | perl-6c8584ec78a6d88676a1e386f72c4c02c94e9a95.tar.gz |
EBCDIC: pack U bytes change.
p4raw-id: //depot/perl@14650
Diffstat (limited to 't')
-rw-r--r-- | t/op/length.t | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/t/op/length.t b/t/op/length.t index 0660d6843e..763a8c1ecd 100644 --- a/t/op/length.t +++ b/t/op/length.t @@ -33,7 +33,7 @@ print "ok 3\n"; } { - my $a = pack("U", 0x80); + my $a = pack("U", 0xFF); print "not " unless length($a) == 1; print "ok 6\n"; @@ -42,12 +42,12 @@ print "ok 3\n"; use bytes; if (ord('A') == 193) { - printf "#%vx for 0x80\n",$a; - print "not " unless $a eq "\x8a\x67" && length($a) == 2; + printf "#%vx for 0xFF\n",$a; + print "not " unless $a eq "\x80\x45" && length($a) == 2; } else { - print "not " unless $a eq "\xc2\x80" && length($a) == 2; + print "not " unless $a eq "\xc3\xbf" && length($a) == 2; } print "ok 7\n"; $test++; |