From: Bruno Haible Date: Mon, 26 Feb 2024 21:33:18 +0000 (+0100) Subject: join: avoid test failure on systems with no French UTF-8 locale X-Git-Tag: v9.5~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2e70e2d197dc3fd8a54276dd31362e7f1ab4d21;p=thirdparty%2Fcoreutils.git join: avoid test failure on systems with no French UTF-8 locale * tests/misc/join-utf8.sh: Test the value of LOCALE_FR_UTF8 against 'none', not against a missing value. Fixes https://bugs.gnu.org/69418 --- diff --git a/tests/misc/join-utf8.sh b/tests/misc/join-utf8.sh index 2dbe2bb815..9af9e55ce2 100755 --- a/tests/misc/join-utf8.sh +++ b/tests/misc/join-utf8.sh @@ -19,7 +19,7 @@ . "${srcdir=.}/tests/init.sh"; path_prepend_ ./src print_ver_ join -test "${LOCALE_FR_UTF8+set}" = set || skip_ "French UTF-8 locale not available" +test "$LOCALE_FR_UTF8" != none || skip_ "French UTF-8 locale not available" LC_ALL=$LOCALE_FR_UTF8 export LC_ALL