To really skip the test an exit() is needed.
Jarkko Hietaniemi [Fri, 8 Feb 2002 03:08:20 +0000 (03:08 +0000)]
p4raw-id: //depot/perl@14593

lib/encoding.t

index d61c4f6..bc7437f 100644 (file)
@@ -3,6 +3,7 @@ print "1..19\n";
 BEGIN {
     if (ord("A") == 193) {
        print "1..0 # encoding pragma does not support EBCDIC platforms\n";
+       exit(0);
     }
 }