* tests/df/problematic-chars.sh: Rely on gnulib setting
this to "none" where not usable.
* tests/misc/sleep.sh: Likewise.
* tests/printf/printf-mb.sh: Likewise.
* tests/printf/printf-quote.sh: Likewise.
* tests/sort/sort-debug-keys.sh: Likewise.
# Ensure mount points not matching the current user encoding are output
unset LC_ALL
-f=$LOCALE_FR_UTF8
-: ${LOCALE_FR_UTF8=none}
if test "$LOCALE_FR_UTF8" != "none"; then
+ f=$LOCALE_FR_UTF8
cleanup_ || framework_failure_
returns_ 124 timeout 0.1 sleep $LDBL_MAX || fail=1
# Test locale decimal handling for printf, sleep, timeout
-: ${LOCALE_FR_UTF8=none}
if test "$LOCALE_FR_UTF8" != "none"; then
f=$LOCALE_FR_UTF8
locale_decimal=$(LC_ALL=$f env printf '%0.3f' 0.001) || fail=1
prog='env printf'
unset LC_ALL
-f=$LOCALE_FR_UTF8
-: ${LOCALE_FR_UTF8=none}
if test "$LOCALE_FR_UTF8" != "none"; then
+ f=$LOCALE_FR_UTF8
(
#valid multi-byte
LC_ALL=$f $prog '%04x\n' '"á' >>out 2>>err
compare exp out || fail=1
unset LC_ALL
-f=$LOCALE_FR_UTF8
-: ${LOCALE_FR_UTF8=none}
if test "$LOCALE_FR_UTF8" != "none"; then
+ f=$LOCALE_FR_UTF8
(
#printable multi-byte
LC_ALL=$f $prog '%q\n' 'áḃç' > out
EOF
unset LC_ALL
-f=$LOCALE_FR_UTF8
-
-: ${LOCALE_FR_UTF8=none}
if test "$LOCALE_FR_UTF8" != "none"; then
+ f=$LOCALE_FR_UTF8
LC_NUMERIC=$f LC_MESSAGES=C sort -g --debug /dev/null 2> debug.out
if grep 'numbers use .*,.* as a decimal point' debug.out >/dev/null; then
(