summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-05-12 18:39:48 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-05-12 18:39:48 +0000
commitf99693245dcd7253f84d04a114c24e08ce1ceea5 (patch)
tree777f3af7124beb52c6ac29f8114c02d889324883 /t
parent9c6f85782f1cd7b0fd0a41187c4ee95878c501d4 (diff)
downloadperl-f99693245dcd7253f84d04a114c24e08ce1ceea5.tar.gz
EBCDIC: retract #16557, it ran into a weird tokenizer(?) bug.
(The manifestation: running pat.t core dumps after test 639. Removing everything after 639 makes core go away, as does removing everything before 640. I did say "weird". Some sort of a memory corruption, no doubt, but no time to debug in more detail.) p4raw-id: //depot/perl@16560
Diffstat (limited to 't')
-rwxr-xr-xt/op/pat.t34
1 files changed, 13 insertions, 21 deletions
diff --git a/t/op/pat.t b/t/op/pat.t
index 971ca711af..5681d6a02b 100755
--- a/t/op/pat.t
+++ b/t/op/pat.t
@@ -1276,27 +1276,19 @@ print "not " unless "\x{abcd}" =~ /\x{abcd}/;
print "ok 247\n";
{
- if (ord("ß") == 0337) { # Latin-1 only.
- # bug id 20001008.001
-
- eval <<'__EOT__';
- my $test = 248;
- my @x = ("stra\337e 138","stra\337e 138");
- for (@x) {
- s/(\d+)\s*([\w\-]+)/$1 . uc $2/e;
- my($latin) = /^(.+)(?:\s+\d)/;
- print $latin eq "stra\337e" ? "ok $test\n" : # 248,249
- "#latin[$latin]\nnot ok $test\n";
- $test++;
- $latin =~ s/stra\337e/straße/; # \303\237 after the 2nd a
- use utf8; # needed for the raw UTF-8
- $latin =~ s!(s)tr(?:aß|s+e)!$1tr.!; # \303\237 after the a
- }
-__EOT__
- } else {
- for (248..249) {
- print "ok $_ # Skip: only in Latin-1\n";
- }
+ # bug id 20001008.001
+
+ my $test = 248;
+ my @x = ("stra\337e 138","stra\337e 138");
+ for (@x) {
+ s/(\d+)\s*([\w\-]+)/$1 . uc $2/e;
+ my($latin) = /^(.+)(?:\s+\d)/;
+ print $latin eq "stra\337e" ? "ok $test\n" : # 248,249
+ "#latin[$latin]\nnot ok $test\n";
+ $test++;
+ $latin =~ s/stra\337e/straße/; # \303\237 after the 2nd a
+ use utf8; # needed for the raw UTF-8
+ $latin =~ s!(s)tr(?:aß|s+e)!$1tr.!; # \303\237 after the a
}
}