diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-06-05 17:26:04 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-06-05 17:26:04 +0000 |
commit | 75ccb5d377ec0ee8e7df44481cfb19db42df4931 (patch) | |
tree | c96418b4358a7a4ba3e6dd4ba54bc363db6b90aa /t/io | |
parent | 4902b9ac34817bed7eedc3956f985e2d5ded090e (diff) | |
download | perl-75ccb5d377ec0ee8e7df44481cfb19db42df4931.tar.gz |
SKIP label was missing.
p4raw-id: //depot/perl@19693
Diffstat (limited to 't/io')
-rwxr-xr-x | t/io/utf8.t | 16 |
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; |