1
0
Fork 0
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:
Jun-ichi Takimoto 2022-04-14 10:19:57 +09:00
parent 06e5ec914f
commit c19f1313e3
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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