From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17685 invoked by alias); 3 Jan 2015 19:29:46 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 34085 Received: (qmail 13955 invoked from network); 3 Jan 2015 19:29:31 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-Originating-IP: [86.6.153.127] X-Spam: 0 X-Authority: v=2.1 cv=AoZg3YNP c=1 sm=1 tr=0 a=39NrsSuza2clQiZR/7fYWQ==:117 a=39NrsSuza2clQiZR/7fYWQ==:17 a=IkcTkHD0fZMA:10 a=NLZqzBF-AAAA:8 a=fR9hA1kLAAAA:8 a=ojfRKeYcvJX8OrqZ5B8A:9 a=QEXdDO2ut3YA:10 Date: Sat, 3 Jan 2015 19:29:25 +0000 From: Peter Stephenson To: "Zsh Hackers' List" Subject: Re: A05execution.ztst fails on Cygwin Message-ID: <20150103192925.02c5fa4a@ntlworld.com> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, 3 Jan 2015 12:54:21 +0200 =C4=B0smail D=C3=B6nmez wrote: > Using latest git; >=20 > ./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=3D'[8] 3212 4644' pat=3D'\[<->\] <-> <->' [[ $str =3D ${~pat} ]] || print Pattern failed to match=20 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=3D1 make TESTNUM=3DA05 work any better? > While running make check I noticed that V08zpty.ztst was hanging. Turns o= ut > that second part of the test is hanging. The minimal reproducer is: >=20 > zmodload zsh/zpty > zpty cat cat > print a line of text | zpty -w cat > var=3D > zpty -r cat var && print -r -- ${var%%$'\r\n'} > zpty -d cat # <--- HANGS >=20 > 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. I would expect the first problem you reported to be tractable, though. pws