mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
shtests --posix: ensure consistent locale: unset all LC_* vars
When running tests in --posix/-p mode, not all LC_* variables were unset, so that certain aspects of the locale could be non-POSIX.
This commit is contained in:
parent
a1f5c99204
commit
9403d326f4
1 changed files with 1 additions and 2 deletions
|
@ -244,8 +244,7 @@ then utf8=0
|
||||||
if ! let 1.0 2>/dev/null
|
if ! let 1.0 2>/dev/null
|
||||||
then export LC_NUMERIC=C
|
then export LC_NUMERIC=C
|
||||||
fi
|
fi
|
||||||
else unset LANG LC_ALL
|
else unset LANG ${!LC_*}
|
||||||
export LC_NUMERIC=C
|
|
||||||
fi
|
fi
|
||||||
if [[ $VMALLOC_OPTIONS ]]
|
if [[ $VMALLOC_OPTIONS ]]
|
||||||
then vmalloc_options=$VMALLOC_OPTIONS
|
then vmalloc_options=$VMALLOC_OPTIONS
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue