op/regmesg FAILED at test 33 on EBCDIC machines
authorRoca, Ignasi <ignasi.roca@fujitsu.siemens.es>
Fri, 12 Jan 2001 10:42:21 +0000 (11:42 +0100)
committerJarkko Hietaniemi <jhi@iki.fi>
Fri, 12 Jan 2001 15:14:14 +0000 (15:14 +0000)
Message-ID: <5930DC161690D211966700902715754703812F33@madt009a.siemens.es>

p4raw-id: //depot/perl@8411

t/op/regmesg.t

index 50a020b..7ee1bb4 100644 (file)
@@ -103,7 +103,7 @@ my $total = (@death + @warning)/2;
 my $Is_EBCDIC = (ord('A') == 193);
 if ($Is_EBCDIC) {
     my @utf8_death = grep(/utf8/, @death); 
-    $total = $total - $#utf8_death;
+    $total = $total - @utf8_death;
 }
 
 print "1..$total\n";