summaryrefslogtreecommitdiff
path: root/t/io
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-06-05 17:26:04 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-06-05 17:26:04 +0000
commit75ccb5d377ec0ee8e7df44481cfb19db42df4931 (patch)
treec96418b4358a7a4ba3e6dd4ba54bc363db6b90aa /t/io
parent4902b9ac34817bed7eedc3956f985e2d5ded090e (diff)
downloadperl-75ccb5d377ec0ee8e7df44481cfb19db42df4931.tar.gz
SKIP label was missing.
p4raw-id: //depot/perl@19693
Diffstat (limited to 't/io')
-rwxr-xr-xt/io/utf8.t16
1 files changed, 9 insertions, 7 deletions
diff --git a/t/io/utf8.t b/t/io/utf8.t
index c7ad296d8d..f77aa3fdc9 100755
--- a/t/io/utf8.t
+++ b/t/io/utf8.t
@@ -160,13 +160,15 @@ ok( $x eq $chr );
# Now we have a deformed file.
-if (ord('A') == 193) {
- skip( "EBCDIC doesn't complain" );
-} else {
- open F, "<:utf8", "a" or die $!;
- $x = <F>; chomp $x;
- local $SIG{__WARN__} = sub { ok( 1 ) };
- eval { sprintf "%vd\n", $x };
+SKIP: {
+ if (ord('A') == 193) {
+ skip( "EBCDIC doesn't complain" );
+ } else {
+ open F, "<:utf8", "a" or die $!;
+ $x = <F>; chomp $x;
+ local $SIG{__WARN__} = sub { ok( 1 ) };
+ eval { sprintf "%vd\n", $x };
+ }
}
close F;