summaryrefslogtreecommitdiff
path: root/tests/misc
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2010-05-18 23:42:36 +0100
committerPádraig Brady <P@draigBrady.com>2010-05-18 23:44:34 +0100
commit9f1d4e3e6f2b6cc8a3c70cc473b3ba714ecc2656 (patch)
treefe6e5f4521ba53bfb2160fd299f6bc06ab546f1c /tests/misc
parent5e82d241d06b8bb887101b0f4f38e785b80e7fcf (diff)
downloadcoreutils-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-xtests/misc/sort-debug-keys3
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