diff options
author | Pádraig Brady <P@draigBrady.com> | 2010-05-18 23:42:36 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2010-05-18 23:44:34 +0100 |
commit | 9f1d4e3e6f2b6cc8a3c70cc473b3ba714ecc2656 (patch) | |
tree | fe6e5f4521ba53bfb2160fd299f6bc06ab546f1c /tests/misc | |
parent | 5e82d241d06b8bb887101b0f4f38e785b80e7fcf (diff) | |
download | coreutils-9f1d4e3e6f2b6cc8a3c70cc473b3ba714ecc2656.tar.xz |
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.
Diffstat (limited to 'tests/misc')
-rwxr-xr-x | tests/misc/sort-debug-keys | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/misc/sort-debug-keys b/tests/misc/sort-debug-keys index 0f050250e..6714a4741 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 |