mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 11:42:21 +00:00
fix radix point regress test bug (re: a0effeb0
)
A previous test left LC_ALL set, causing a spurious failure in one of the newly added tests. The bug was masked because another test conditional upon SHOPT_MULTIBYTE unset LC_ALL again. The fix is to unset all locale variables before testing, just to be sure.
This commit is contained in:
parent
a0effeb0dc
commit
d70793d3c0
1 changed files with 1 additions and 0 deletions
|
@ -416,6 +416,7 @@ then
|
|||
fi
|
||||
|
||||
# ======
|
||||
unset LANG "${!LC_@}"
|
||||
(LANG=C_EU && LC_NUMERIC=C && let .5) || err_exit "radix point not updated by LC_NUMERIC"
|
||||
(LANG=C && LC_NUMERIC=C_EU && let ,5) || err_exit "radix point not updated by LC_NUMERIC"
|
||||
(LC_NUMERIC=C_EU && LC_ALL=C && let .5) || err_exit "radix point not updated by LC_ALL"
|
||||
|
|
Loading…
Reference in a new issue