summary refs log tree commit diff
path: root/Test/comptest
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2001-02-08 03:29:58 +0000
committerBart Schaefer <barts@users.sourceforge.net>2001-02-08 03:29:58 +0000
commitdb3d3e2b271f2e49e191efaa80e91643ec7aae1d (patch)
tree01ad01f1a04eb8fe5803dffc6a32b7033e7242fc /Test/comptest
parent7194a5030006e3c418f8353e4023115135ee3191 (diff)
downloadzsh-db3d3e2b271f2e49e191efaa80e91643ec7aae1d.tar.gz
zsh-db3d3e2b271f2e49e191efaa80e91643ec7aae1d.tar.xz
zsh-db3d3e2b271f2e49e191efaa80e91643ec7aae1d.zip
13442: Use +Z to suppress loading of ZLE modules when testing.
Diffstat (limited to 'Test/comptest')
-rw-r--r--Test/comptest3
1 files changed, 2 insertions, 1 deletions
diff --git a/Test/comptest b/Test/comptest
index a01b18134..85fa5578d 100644
--- a/Test/comptest
+++ b/Test/comptest
@@ -16,7 +16,7 @@ comptestinit () {
   (( OPTIND > 1 )) && shift $(( OPTIND - 1 ))
 
   export PS1="<PROMPT>"
-  zpty -b zsh "$comptest_zsh" -f
+  zpty -b zsh "$comptest_zsh -f +Z"
 
   zpty -r zsh log1 "*<PROMPT>*" || { 
     print "first prompt hasn't appeared."
@@ -29,6 +29,7 @@ comptestinit () {
 "fpath=( $fpath )" \
 'LISTMAX=10000000
 stty columns 80 rows 24
+setopt zle
 bindkey -e
 autoload -U compinit
 compinit -u