diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2001-02-08 03:29:58 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2001-02-08 03:29:58 +0000 |
commit | db3d3e2b271f2e49e191efaa80e91643ec7aae1d (patch) | |
tree | 01ad01f1a04eb8fe5803dffc6a32b7033e7242fc /Test | |
parent | 7194a5030006e3c418f8353e4023115135ee3191 (diff) | |
download | zsh-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')
-rw-r--r-- | Test/Makefile.in | 2 | ||||
-rw-r--r-- | Test/comptest | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Test/Makefile.in b/Test/Makefile.in index 7861c8be0..5a66fe1ab 100644 --- a/Test/Makefile.in +++ b/Test/Makefile.in @@ -46,7 +46,7 @@ check test: $(MAKE) MODDIR=`pwd`/$(subdir)/Modules install.modules > /dev/null; \ fi -for f in $(sdir)/$(TESTNUM)*.ztst; do \ - $(dir_top)/Src/zsh -f $(sdir)/ztst.zsh $$f; \ + $(dir_top)/Src/zsh +Z -f $(sdir)/ztst.zsh $$f; \ done rm -rf Modules .zcompdump 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 |