mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-01 05:16:05 +01:00
49908: reset LC_CTYPE to C during tests
and do not export MODULE_PATH since child zsh will not import it
This commit is contained in:
parent
85f98c3604
commit
6617f19234
2 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2022-03-30 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
|
||||
|
||||
* 49908: Test/ztst.zsh: reset LC_CTYPE to C during tests.
|
||||
|
||||
2022-03-29 Bart Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 49918: NEWS, README: Update for 49917 and 49911.
|
||||
|
|
|
@ -25,6 +25,7 @@ emulate -R zsh
|
|||
# Ensure the locale does not screw up sorting. Don't supply a locale
|
||||
# unless there's one set, to minimise problems.
|
||||
[[ -n $LC_ALL ]] && LC_ALL=C
|
||||
[[ -n $LC_CTYPE ]] && LC_CTYPE=C
|
||||
[[ -n $LC_COLLATE ]] && LC_COLLATE=C
|
||||
[[ -n $LC_NUMERIC ]] && LC_NUMERIC=C
|
||||
[[ -n $LC_MESSAGES ]] && LC_MESSAGES=C
|
||||
|
@ -36,8 +37,6 @@ typeset +x WORDCHARS
|
|||
# Set the module load path to correspond to this build of zsh.
|
||||
# This Modules directory should have been created by "make check".
|
||||
[[ -d Modules/zsh ]] && module_path=( $PWD/Modules )
|
||||
# Allow this to be passed down.
|
||||
export MODULE_PATH
|
||||
|
||||
# We need to be able to save and restore the options used in the test.
|
||||
# We use the $options variable of the parameter module for this.
|
||||
|
|
Loading…
Reference in a new issue