zsh-workers
 help / color / mirror / code / Atom feed
* 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; 3+ 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] 3+ messages in thread
* Test hanger disappeared, but ... RE: PATCH: Fix ZDOTDIR during "make check" for static builds
@ 2000-07-04  8:29 Andrej Borsenkow
  2000-07-04 15:58 ` PATCH: compdump (Re: Test hanger disappeared, but ...) Bart Schaefer
  0 siblings, 1 reply; 3+ messages in thread
From: Andrej Borsenkow @ 2000-07-04  8:29 UTC (permalink / raw)
  To: Bart Schaefer, 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.
>

May be, it is something different - but now completion tests do not hang
anymore. I run them on Unix without any problems; but on Cygwin I get
misterious errors:

mw1g017@MW1G17C:/usr/build/zsh/Test% /usr/build/zsh/Src/zsh -f
/usr/src/zsh/Test
/ztst.zsh /usr/src/zsh/Test/53completion.ztst
*** /tmp/zsh.ztst.out.1007      Tue Jul  4 12:24:39 2000
--- /tmp/zsh.ztst.tout.1007     Tue Jul  4 12:24:49 2000
***************
*** 1,12 ****
- line: {: }{}
  DESCRIPTION:{file}
  DI:{dir1}
  DI:{dir2}
  FI:{file1}
  FI:{file2}
- line: {: dir1/}{}
- line: {: dir2/}{}
- line: {: file1}{}
- line: {: file2}{}
- line: {: dir1/}{}
- line: {: dir2/}{}
--- 1,5 ----
Test /usr/src/zsh/Test/53completion.ztst failed: output differs from
expected as
 shown above for:
  comptest $': \t\t\t\t\t\t\t'
Was testing: directories and files
/usr/src/zsh/Test/53completion.ztst: test failed.
rm: /usr/build/zsh/Test/comp.tmp: Permission denied
mw1g017@MW1G17C:/usr/build/zsh/Test% print $CYGWIN
title strip_title tty

I thought, it may have something to do with CYGWIN setting (tty/notty) -
but the error happens with both settings.

The "permission denied" message most probably comes, because some child
has comp.tmp open at the time comptest tries to delete it.

It all smells much like some tty emulation problem. Sigh.

-andrej


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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-05  6:39 PATCH: compdump (Re: Test hanger disappeared, but ...) Sven Wischnowsky
2000-07-05  9:35 ` Peter Stephenson
  -- strict thread matches above, loose matches on Subject: below --
2000-07-04  8:29 Test hanger disappeared, but ... RE: PATCH: Fix ZDOTDIR during "make check" for static builds Andrej Borsenkow
2000-07-04 15:58 ` PATCH: compdump (Re: Test hanger disappeared, but ...) 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).