mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-06-01 04:46:08 +02:00
50046: ztst.zsh: export LANG to child zsh
This commit is contained in:
parent
06e5ec914f
commit
c19f1313e3
|
@ -1,3 +1,7 @@
|
|||
2022-04-14 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
|
||||
|
||||
* 50046: Test/ztst.zsh: export LANG to child zsh
|
||||
|
||||
2022-04-12 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
|
||||
|
||||
* 50013: Test/P01privileged.ztst, Test/ztst.zsh: skip %test if
|
||||
|
|
|
@ -33,6 +33,9 @@ emulate -R zsh
|
|||
[[ -n $LC_NUMERIC ]] && LC_NUMERIC=C
|
||||
[[ -n $LC_MESSAGES ]] && LC_MESSAGES=C
|
||||
[[ -n $LANG ]] && LANG=C
|
||||
# Test file may (or may not) set LANG to other locales. In either case,
|
||||
# LANG must be passed to child zsh.
|
||||
export LANG
|
||||
|
||||
# Don't propagate variables that are set by default in the shell.
|
||||
typeset +x WORDCHARS
|
||||
|
|
Loading…
Reference in New Issue