From: Peter Stephenson <p.w.stephenson@ntlworld.com>
To: "Zsh Hackers' List" <zsh-workers@zsh.org>
Subject: Re: A05execution.ztst fails on Cygwin
Date: Sat, 3 Jan 2015 19:51:57 +0000 [thread overview]
Message-ID: <20150103195157.7221bd68@ntlworld.com> (raw)
In-Reply-To: <20150103192925.02c5fa4a@ntlworld.com>
On Sat, 3 Jan 2015 19:29:25 +0000
Peter Stephenson <p.w.stephenson@ntlworld.com> wrote:
> On Sat, 3 Jan 2015 12:54:21 +0200
> İsmail Dönmez <ismail@donmez.ws> 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 '\[<->\] <-> <->'.
Ah --- just woke up and looked in more detail at the test and your
output as I should have done before.
The test runs "jobs -l" at the end; it expects the job will have
exited. Indeed it (%8) has, but another job (%6) is still running.
That's presumably what's causing the failure (though the error message
is a bit unhelpful, which is probably my fault).
It's likely to be a job started by this test:
false
sleep 1000 &
print $?
kill $!
0:Status reset by starting a backgrounded command
>0
So what failed is that "kill $!". In this case, job control is probably
off, though we do monkey with MONITOR in various tests so that may not
be guaranteed. $! should be set, and kill should work, regardless of
job control. In principle there's a good deal less to go wrong here
than stuff involving job control and ptys...
> 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.
I suspect that's just a side effect of Cygwin/Windows terminal handling,
actually.
pws
next prev parent reply other threads:[~2015-01-03 19:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-03 10:54 İsmail Dönmez
2015-01-03 17:21 ` Ray Andrews
2015-01-03 17:45 ` İsmail Dönmez
2015-01-03 18:37 ` Ray Andrews
2015-01-03 19:29 ` Peter Stephenson
2015-01-03 19:51 ` Peter Stephenson [this message]
2015-01-03 19:56 ` Bart Schaefer
2015-01-03 19:59 ` İsmail Dönmez
2015-01-03 23:02 ` Peter Stephenson
2015-01-09 9:13 ` İsmail Dönmez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150103195157.7221bd68@ntlworld.com \
--to=p.w.stephenson@ntlworld.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).