aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2024-02-26 22:33:18 +0100
committerPádraig Brady <P@draigBrady.com>2024-02-27 14:26:35 +0000
commitf2e70e2d197dc3fd8a54276dd31362e7f1ab4d21 (patch)
tree985b570cd3249cfb6c92420d4b66eef629e6b5d4 /tests
parentsort: make the startup time optimization effective on glibc < 2.34 (diff)
downloadcoreutils-f2e70e2d197dc3fd8a54276dd31362e7f1ab4d21.tar.gz
coreutils-f2e70e2d197dc3fd8a54276dd31362e7f1ab4d21.zip
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
Diffstat (limited to 'tests')
-rwxr-xr-xtests/misc/join-utf8.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/join-utf8.sh b/tests/misc/join-utf8.sh
index 2dbe2bb81..9af9e55ce 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