zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: Fix ZDOTDIR during "make check" for static builds
@ 2000-07-03 18:34 Bart Schaefer
  2000-07-04  8:29 ` Test hanger disappeared, but ... " Andrej Borsenkow
  2000-07-04 17:01 ` PATCH: Fix ZDOTDIR during "make check" for static builds Andrej Borsenkow
  0 siblings, 2 replies; 7+ messages in thread
From: Bart Schaefer @ 2000-07-03 18:34 UTC (permalink / raw)
  To: zsh-workers

When I made my earlier patch for this (12039), I forgot that Test/Modules
doesn't get created when the build is static.

This points ZDOTDIR into the Test directory itself (in the build tree, if
that's separate from the source), and therefore also has to make sure that
the .zcompdump file is removed at the end.

Index: Test/Makefile.in
===================================================================
@@ -48,7 +48,7 @@
 	for f in $(sdir)/$(TESTNUM)*.ztst; do \
 	  $(dir_top)/Src/zsh -f $(sdir)/ztst.zsh $$f; \
 	done
-	rm -rf Modules
+	rm -rf Modules .zcompdump
 
 # ========== DEPENDENCIES FOR CLEANUP ==========
 
Index: Test/comptest
===================================================================
@@ -25,7 +25,7 @@
   }
 
   comptesteval \
-"export ZDOTDIR=$ZTST_testdir/Modules" \
+"export ZDOTDIR=$ZTST_testdir" \
 "module_path=( $module_path )" \
 "fpath=( $fpath )" \
 'LISTMAX=10000000

-- 
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] 7+ messages in thread
* Re: PATCH: compdump (Re: Test hanger disappeared, but ...)
@ 2000-07-05  6:39 Sven Wischnowsky
  2000-07-05  9:35 ` Peter Stephenson
  0 siblings, 1 reply; 7+ messages in thread
From: Sven Wischnowsky @ 2000-07-05  6:39 UTC (permalink / raw)
  To: zsh-workers


Bart Schaefer wrote:

> ...
> 
> We seem to be running into a lot of things that cause zsh to abort all
> the way back to top level.  Do other shells give up so thoroughly in
> these situations?

That's interesting... For example, with

  while true; do echo > unwritable; sleep 1; done

zsh stops after the first attempt. bash and ksh don't stop and the
/bin/sh here stops after the first attempt, too.

With

  while true; do echo $(for); sleep 1; done

zsh stops (and prints two error messages!), bash does not stop, but
ksh and /bin/sh do.

Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2000-07-05  9:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-03 18:34 PATCH: Fix ZDOTDIR during "make check" for static builds Bart Schaefer
2000-07-04  8:29 ` Test hanger disappeared, but ... " Andrej Borsenkow
2000-07-04 15:58   ` PATCH: compdump (Re: Test hanger disappeared, but ...) Bart Schaefer
2000-07-04 17:01 ` PATCH: Fix ZDOTDIR during "make check" for static builds Andrej Borsenkow
2000-07-05  4:31   ` Bart Schaefer
2000-07-05  6:39 PATCH: compdump (Re: Test hanger disappeared, but ...) Sven Wischnowsky
2000-07-05  9:35 ` Peter Stephenson

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).