summary refs log tree commit diff
path: root/Test/ztst.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'Test/ztst.zsh')
-rwxr-xr-xTest/ztst.zsh3
1 files changed, 3 insertions, 0 deletions
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