From ab8b8026dcc17f7c3d8dcfba7dba046b1ac7c42b Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 28 Nov 2006 22:09:00 +0000 Subject: 23022: don't allow WORDCHARS to be exported to tests --- Test/ztst.zsh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Test') diff --git a/Test/ztst.zsh b/Test/ztst.zsh index 77ff30e8d..bd76a0dc0 100755 --- a/Test/ztst.zsh +++ b/Test/ztst.zsh @@ -30,6 +30,9 @@ emulate -R zsh [[ -n $LC_MESSAGES ]] && LC_MESSAGES=C [[ -n $LANG ]] && LANG=C +# Don't propagate variables that are set by default in the shell. +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 ) -- cgit 1.4.1