]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
join: avoid test failure on systems with no French UTF-8 locale
authorBruno Haible <bruno@clisp.org>
Mon, 26 Feb 2024 21:33:18 +0000 (22:33 +0100)
committerPádraig Brady <P@draigBrady.com>
Tue, 27 Feb 2024 14:26:35 +0000 (14:26 +0000)
* 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

tests/misc/join-utf8.sh

index 2dbe2bb8150713294da5868f24afdb3fbc91e510..9af9e55ce23f60144b82dd52ee2136e92ced1fbc 100755 (executable)
@@ -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