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
|
|
@ -244,8 +244,7 @@ then utf8=0
|
|||
if ! let 1.0 2>/dev/null
|
||||
then export LC_NUMERIC=C
|
||||
fi
|
||||
else unset LANG LC_ALL
|
||||
export LC_NUMERIC=C
|
||||
else unset LANG ${!LC_*}
|
||||
fi
|
||||
if [[ $VMALLOC_OPTIONS ]]
|
||||
then vmalloc_options=$VMALLOC_OPTIONS
|
||||
|
|
|
|||
Loading…
Reference in New Issue