tests: fix sort-debug-keys when fr_FR.utf8 not available
authorPádraig Brady <P@draigBrady.com>
Tue, 18 May 2010 22:42:36 +0000 (23:42 +0100)
committerPádraig Brady <P@draigBrady.com>
Tue, 18 May 2010 22:44:34 +0000 (23:44 +0100)
* tests/misc/sort-debug-keys: Correctly check for the absence
of the French UTF8 locale.

tests/misc/sort-debug-keys

index 0f05025..6714a47 100755 (executable)
@@ -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