From c19f1313e334418d03fd3900d6270a3609ec5932 Mon Sep 17 00:00:00 2001 From: Jun-ichi Takimoto Date: Thu, 14 Apr 2022 10:19:57 +0900 Subject: 50046: ztst.zsh: export LANG to child zsh --- Test/ztst.zsh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Test') diff --git a/Test/ztst.zsh b/Test/ztst.zsh index 190deecfd..aca275c1c 100755 --- a/Test/ztst.zsh +++ b/Test/ztst.zsh @@ -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 -- cgit 1.4.1