From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27065 invoked by alias); 3 Jan 2015 19:59:50 -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: 34088 Received: (qmail 6169 invoked from network); 3 Jan 2015 19:59:46 -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=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HTML_MESSAGE,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 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= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=AR+7ZuGaX05aeZSSe14LN8GHHO36fEnm0H9dUFn4w4o=; b=PLwOhKR9J3RWzfurpRFBGn+TGYcIqQ3rNQSqetBOxH8pYHiFK3R1yGGWAU3v82Z1r7 CSQWfnJdCA7XROfr7RFTouMvAK78JJTQGZzu6uNvkg2EIBVzPbmvZ92rWZcV8phzNW9H HavwlIQ4XTHqxL5VcK3g9v6campH6zQqcssmWkVGyMqXDwukHlDhv9zxYHaiJJ4R+m/Z NRk54XWAKKuudA3n/0+4EDSaLWTJ/O1NfpPj4zwYC3x3qXY6LF/tPrl8wuCOiYAe61Ud 5Z6Y4gMhs5zgRs10ErVhJK07d5jDENg/8yGtNfp+zhMA64zntO8r1Epj8C0OprG4+0cx mIyg== X-Gm-Message-State: ALoCoQlSQgJTRZGM6AedKc9bNvrSSPS0J7QwsSCvBJUBi1J6lYwJdIkQxffxX9EsX/TiRRph4CMm X-Received: by 10.112.202.71 with SMTP id kg7mr81401504lbc.16.1420315180501; Sat, 03 Jan 2015 11:59:40 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20150103192925.02c5fa4a@ntlworld.com> References: <20150103192925.02c5fa4a@ntlworld.com> From: =?UTF-8?B?xLBzbWFpbCBEw7ZubWV6?= Date: Sat, 3 Jan 2015 21:59:20 +0200 Message-ID: Subject: Re: A05execution.ztst fails on Cygwin To: Peter Stephenson Cc: "Zsh Hackers' List" Content-Type: multipart/alternative; boundary=001a11c3714acda1e9050bc4e508 --001a11c3714acda1e9050bc4e508 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, On Sat, Jan 3, 2015 at 9:29 PM, Peter Stephenson < p.w.stephenson@ntlworld.com> wrote: > On Sat, 3 Jan 2015 12:54:21 +0200 > =C4=B0smail D=C3=B6nmez 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=3D'[8] 3212 4644' > pat=3D'\[<->\] <-> <->' > [[ $str =3D ${~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=3D1 make TESTNUM=3DA05 > > 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=3D > > 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. --001a11c3714acda1e9050bc4e508--