zsh-workers
 help / color / mirror / code / Atom feed
* PATCH:  Amend the last two comptest patches
@ 2000-06-22 17:28 Bart Schaefer
  0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 2000-06-22 17:28 UTC (permalink / raw)
  To: zsh-workers

Rather than prevent comptest from creating a dumpfile (my patch for which
didn't work anyway because of single-quoting that I didn't see elsewhere)
let's just point ZDOTDIR into a directory that's going to be removed again
when the test finishes.

Index: Test/comptest
===================================================================
@@ -5,7 +5,6 @@
 
   zmodload -i zsh/zpty
 
-  dump=(-D)
   comptest_zsh=${ZSH:-zsh}
   termcap_ce="$(echotc ce)"
 
@@ -25,13 +24,14 @@
   }
 
   comptesteval \
+"export ZDOTDIR=$ZTST_testdir/Modules" \
 "module_path=( $module_path )" \
 "fpath=( $fpath )" \
 'LISTMAX=10000000
 stty columns 80 rows 24
 bindkey -e
 autoload -U compinit
-compinit -u $dump
+compinit -u
 zstyle ":completion:*:default" list-colors "no=<NO>" "fi=<FI>" "di=<DI>" "ln=<LN>" "pi=<PI>" "so=<SO>" "bd=<BD>" "cd=<CD>" "ex=<EX>" "mi=<MI>" "tc=<TC>" "sp=<SP>" "lc=<LC>" "ec=<EC>\n" "rc=<RC>"
 zstyle ":completion:*" group-name ""
 zstyle ":completion:*:messages" format "<MESSAGE>%d</MESSAGE>

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-06-22 17:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-22 17:28 PATCH: Amend the last two comptest patches Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).