From: Pádraig Brady Date: Tue, 18 May 2010 22:42:36 +0000 (+0100) Subject: tests: fix sort-debug-keys when fr_FR.utf8 not available X-Git-Tag: v8.6~165 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f1d4e3e6f2b6cc8a3c70cc473b3ba714ecc2656;p=thirdparty%2Fcoreutils.git tests: fix sort-debug-keys when fr_FR.utf8 not available * tests/misc/sort-debug-keys: Correctly check for the absence of the French UTF8 locale. --- diff --git a/tests/misc/sort-debug-keys b/tests/misc/sort-debug-keys index 0f050250ef..6714a47416 100755 --- a/tests/misc/sort-debug-keys +++ b/tests/misc/sort-debug-keys @@ -300,7 +300,8 @@ _____ ___________________ EOF -if test "$LOCALE_FR_UTF8"; then +: ${LOCALE_FR_UTF8=none} +if test "$LOCALE_FR_UTF8" != "none"; then ( echo " 1²---++3 1,234 Mi" | LC_ALL=C sort --debug -k2g -k1b,1