From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11247 invoked from network); 10 May 2001 17:55:09 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 10 May 2001 17:55:09 -0000 Received: (qmail 9483 invoked by alias); 10 May 2001 17:55:01 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14306 Received: (qmail 9450 invoked from network); 10 May 2001 17:55:00 -0000 From: "Bart Schaefer" Message-Id: <1010510175345.ZM23904@candle.brasslantern.com> Date: Thu, 10 May 2001 17:53:45 +0000 In-Reply-To: <001801c0d969$f0956550$21c9ca95@mow.siemens.ru> Comments: In reply to "Andrej Borsenkow" "Weird test failures under Cygwin" (May 10, 7:57pm) References: <001801c0d969$f0956550$21c9ca95@mow.siemens.ru> X-Mailer: Z-Mail (5.0.0 30July97) To: "Andrej Borsenkow" , "ZSH Workers Mailing List" Subject: Re: Weird test failures under Cygwin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On May 10, 7:57pm, Andrej Borsenkow wrote: } } May be, somebody has an idea. When run all together, the tests re-use the same zpty name, though not the same pty instance. I wonder if there's a lurking bug with pty re-use, either in zpty or in cygwin. It would appear that some of the output read from zpty is simply getting lost. I was just able to get an error very similar to this one: } *** /tmp/zsh.ztst.out.2132 Thu May 10 19:51:12 2001 } --- /tmp/zsh.ztst.tout.2132 Thu May 10 19:51:12 2001 } *************** } *** 1,3 **** } line: {tst }{} } - COMPADD:{_tst:compadd: unknown match specification character `z'} } - INSERT_POSITIONS:{} } --- 1 ---- I did it by inserting into the "comptesteval" call in "comptestinit" the argument "exec 2>>| $ZTST_testdir/comptest.log" (trying to examine exactly how zsh re-uses the pty). The error I got was: *** /tmp/zsh.ztst.out.23791 Thu May 10 10:46:42 2001 --- /tmp/zsh.ztst.tout.23791 Thu May 10 10:46:43 2001 *************** *** 1,3 **** line: {tst }{} ! COMPADD:{_tst:compadd: unknown match specification character `z'} INSERT_POSITIONS:{} --- 1,3 ---- line: {tst }{} ! COMPADD:{} INSERT_POSITIONS:{} -- 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