Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: A05execution.ztst fails on Cygwin
- X-seq: zsh-workers 34088
- From: İsmail Dönmez <ismail@xxxxxxxxx>
- To: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- Subject: Re: A05execution.ztst fails on Cygwin
- Date: Sat, 3 Jan 2015 21:59:20 +0200
- Cc: "Zsh Hackers' List" <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=donmez.ws; s=www; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=AR+7ZuGaX05aeZSSe14LN8GHHO36fEnm0H9dUFn4w4o=; b=TXqT588kXerzyf+8XqGbC7ZEP3e0bB4LlInT7ySwuGQegd5MSnLNbCj7LyMu2vLnc0 aplB+KVEvryrWicCu3Qwc6s2vTyfAuAu0H5pYhEiq0dUrtGULj6N0soE/+6iv1eu/ML/ NI7oAUVkqcqJ4gJOPf4aFykGO8tJn2vGav21E=
- In-reply-to: <20150103192925.02c5fa4a@ntlworld.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAJ1KOAgr5uUo9P1HfYYuDxanuhR8=eK5phdDJOrZzY-_vOLwQg@mail.gmail.com> <20150103192925.02c5fa4a@ntlworld.com>
Hi,
On Sat, Jan 3, 2015 at 9:29 PM, Peter Stephenson <
p.w.stephenson@xxxxxxxxxxxx> wrote:
> On Sat, 3 Jan 2015 12:54:21 +0200
> İsmail Dönmez <ismail@xxxxxxxxx> wrote:
> > Using latest git;
> >
> > ./A05execution.ztst: starting.
> > This test takes 5 seconds to fail...
> > Pattern match failed:#######
> > <\[<->\] <-> <->
> > >[8] 3212 4644
> > >[6] - 2456 running sleep 1000
>
> That's a bit funny. It appears to be saying the string
> "[8] 3212 4644" doesn't match the pattern '\[<->\] <-> <->'. Are
> you able to reproduce this from the command line?
>
> str='[8] 3212 4644'
> pat='\[<->\] <-> <->'
> [[ $str = ${~pat} ]] || print Pattern failed to match
>
> Actually, looking at it more closesly, the problem may be that somehow
> the ### output that shows the time being taken have got mixed in with
> standard output from the test itself.
>
> It looks like you can turn off hask marks when output is verbose. Does
>
> ZTST_verbose=1 make TESTNUM=A05
>
> work any better?
>
>
This fixes the test for me.
> > While running make check I noticed that V08zpty.ztst was hanging. Turns
> out
> > that second part of the test is hanging. The minimal reproducer is:
> >
> > zmodload zsh/zpty
> > zpty cat cat
> > print a line of text | zpty -w cat
> > var=
> > zpty -r cat var && print -r -- ${var%%$'\r\n'}
> > zpty -d cat # <--- HANGS
> >
> > I am not sure if Cygwin is a supported platform but any help would be
> > appreciated.
>
> We don't have the resources to differentiate betwen "supported" and
> "unsupported," we just have to try to fix problems as they turn up as
> best we can wherever they turn up. Cygwin gets less love and attention
> than more standard Unix-like platforms. In the case of zpty you may be
> onto a loser: it's hard enough on most systems and worse here. I'm
> aware of historical problems with <(...) and >(...) substitutions, too.
>
It might makes sense to fail this test on Cygwin then, so I could run make
check semi-regularly and make sure no regressions would be introduced.
Regards.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author