diff options
Diffstat (limited to 'tests/misc/uniq')
-rwxr-xr-x | tests/misc/uniq | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/misc/uniq b/tests/misc/uniq index 1a260e498..99aa8edfe 100755 --- a/tests/misc/uniq +++ b/tests/misc/uniq @@ -82,11 +82,8 @@ sub add_z_variants($) # I've only ever triggered the problem in a non-C locale. my $locale = $ENV{LOCALE_FR}; -if (! defined $locale || $locale eq 'none') - { - warn "$prog: skipping this test -- no appropriate locale\n"; - exit 77; - } +! defined $locale || $locale eq 'none' + and CuSkip::skip "$prog: skipping this test -- no appropriate locale\n"; # See if isblank returns true for nbsp. my $x = `env printf '\xa0'| LC_ALL=$locale tr '[:blank:]' x`; |