about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorPaul Ackersviller <packersv@users.sourceforge.net>2007-11-07 03:59:28 +0000
committerPaul Ackersviller <packersv@users.sourceforge.net>2007-11-07 03:59:28 +0000
commitd560621d71fbafe0cd2d96f44c87277442a71b3a (patch)
treefa04be54949a967ab7738cc7f361938156bae0ee /Test
parentae624f684ce371ebe3ec202ae51bca4c1d5d5d19 (diff)
downloadzsh-d560621d71fbafe0cd2d96f44c87277442a71b3a.tar.gz
zsh-d560621d71fbafe0cd2d96f44c87277442a71b3a.tar.xz
zsh-d560621d71fbafe0cd2d96f44c87277442a71b3a.zip
Merge of 23022: don't allow WORDCHARS to be exported to tests.
Diffstat (limited to 'Test')
-rwxr-xr-xTest/ztst.zsh3
1 files changed, 3 insertions, 0 deletions
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 )