From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10511 invoked from network); 10 May 2001 17:38:21 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 10 May 2001 17:38:21 -0000 Received: (qmail 576 invoked by alias); 10 May 2001 17:38:16 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14305 Received: (qmail 560 invoked from network); 10 May 2001 17:38:15 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer goliath.siemens.de) From: "Andrej Borsenkow" To: "ZSH Workers Mailing List" Subject: RE: Weird test failures under Cygwin Date: Thu, 10 May 2001 21:38:08 +0400 Message-ID: <001c01c0d977$fa1241d0$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <1010510172009.ZM22570@candle.brasslantern.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 > 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