Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: W02jobs.ztst hangs with zsh 5.6.1
Hi,
On Mon, Sep 10, 2018 at 1:19 PM Peter Stephenson
<p.w.stephenson@xxxxxxxxxxxx> wrote:
>
> > On 10 September 2018 at 11:39 İsmail Dönmez <ismail@xxxxxxxx> wrote:
> > Running test: `jobs -r` and `jobs -s` with suspended job
> > ZTST_test: expecting status: 0
> > Input: /tmp/zsh.ztst.13823/ztst.in, output:
> > /tmp/zsh.ztst.13823/ztst.out, error: /tmp/zsh.ztst.13823/ztst.terr
> >
> > (*.in, *.terr is empty), so:
> > havana ~ > cat /tmp/zsh.ztst.13823/ztst.out
> > zsh:*(stopped|suspended)*sleep*
> > -
> > \[1] + (stopped|suspended)*sleep*
>
> Thanks --- the test is doing the following.
>
> sleep 5
> ^Z
> # Should print stopped / suspended message.
> jobs -r
> # Shouldn't print anything.
> print -- -
> # Should print "-" --- not really important here, it's
> # just to sync up the output within the test system.
> jobs -s
> # Should show the job.
> # The test doesn't bother with the following, it just exits, but
> # to try it out by hand I suggest...
> kill %1
Inded that doesn't fail when I manually run it. I put the W02 under a
loop to see if I can get it to fail more but surprisingly it failed
elsewhere:
Running test: suspended job with check_jobs + check_running_jobs
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.8136/ztst.in, output:
/tmp/zsh.ztst.8136/ztst.out, error: /tmp/zsh.ztst.8136/ztst.terr
So indeed this could be a zpty problem in the end.
Regards,
ismail
Messages sorted by:
Reverse Date,
Date,
Thread,
Author