zsh-workers
 help / color / mirror / code / Atom feed
From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: "ZSH Workers Mailing List" <zsh-workers@sunsite.dk>
Subject: RE: Weird test failures under Cygwin
Date: Thu, 10 May 2001 21:38:08 +0400	[thread overview]
Message-ID: <001c01c0d977$fa1241d0$21c9ca95@mow.siemens.ru> (raw)
In-Reply-To: <1010510172009.ZM22570@candle.brasslantern.com>


> On May 10,  7:57pm, Andrej Borsenkow wrote:
> } Subject: Weird test failures under Cygwin
> }
> } If I run tests individually (make TESTNUM=Y02compmatch check) it work
> } fine. If I run them all at once (or just make TESTNUM=Y check), both
> } compatch and arguments fail:
>
> You don't have an /etc/zshenv or equivalent, do you?  If you do, what's
> in it?
>

mw1g017@MW1G17C% cat /etc/zshenv
#!/usr/bin/zsh

typeset -U PATH path
path=(/usr/bin /usr/local/bin $path)

> } /tools/src/zsh/Test/Y02compmatch.ztst: starting.
> }
> ####################################################################
> ##########
> } ##
>
> Wow, it takes a long time to run these tests on your machine.  I never
> get more than about 30 hash marks.
>

That is PII 266MHz with 192MB and Win2k; X-Vision 7.3 + some other apps always
running. On my Unix system (that is MIPS R4400 200MHz with 256MB) I get even
more hashes ... and on home system (PIII 733, 128MB, Mandrake 8+) none at all.

> } rm: cannot remove directory `/tools/build/zsh/Test/match.tmp': Permission
> } denied
>
> That's very strange, but it could have something to do with the failure.
> Same thing here:
>
> } rm: cannot remove directory `/tools/build/zsh/Test/comp.tmp': Permission
> } denied
>

Something has changed in the way zpty runs commands (I fixed the above once
already). Look here:

mw1g017@MW1G17C% zpty zsh /usr/bin/zsh
mw1g017@MW1G17C% ps
      PID    PPID    PGID     WINPID TTY  UID    STIME COMMAND
     1900       1    1900       1900   0 1006 21:17:16 /usr/bin/zsh
     2216    1900    2216       1760   0 1006 21:17:21 /usr/bin/zsh
     3140    2216    3140       3140   1 1006 21:30:23 /usr/bin/zsh
     2412    3140    2412       2696   1 1006 21:30:24 /usr/bin/zsh
     3308    2216    3308       1932   0 1006 21:30:26 /usr/bin/ps

The tty0 is my current and tty1 is pts; when I unload zpty (test does it) it
basically sends HUP to tty group - but we have *two* tty groups here. So the
second zsh is stuck around with Test/comp.tmp as current dir that prevents it
from being removed:

mw1g017@MW1G17C% zmodload -u zsh/zpty
mw1g017@MW1G17C% ps
      PID    PPID    PGID     WINPID TTY  UID    STIME COMMAND
     1900       1    1900       1900   0 1006 21:17:16 /usr/bin/zsh
     2216    1900    2216       1760   0 1006 21:17:21 /usr/bin/zsh
I    2412       1    2412       2696   1 1006 21:30:24 /usr/bin/zsh
     2288    2216    2288       1924   0 1006 21:37:17 /usr/bin/ps

-andrej


  reply	other threads:[~2001-05-10 17:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-10 15:57 Andrej Borsenkow
2001-05-10 17:20 ` Bart Schaefer
2001-05-10 17:38   ` Andrej Borsenkow [this message]
2001-05-11  8:15     ` Bart Schaefer
2001-05-10 17:53 ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='001c01c0d977$fa1241d0$21c9ca95@mow.siemens.ru' \
    --to=andrej.borsenkow@mow.siemens.ru \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).