Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh 5.0.5-dev-2 / Occassional hangs on Test/A05execution.ztst



On Aug 14,  7:34pm, Axel Beckert wrote:
} 
} One thing I noticed in the failed build logs: Exactly before
} terminating the hanging test suite there is the following message:
} 
} Unable to change MONITOR option

Yes, that's coming from the third-to-last test in the file:

  { setopt MONITOR } 2>/dev/null
  [[ -o MONITOR ]] || print -u $ZTST_fd 'Unable to change MONITOR option'

Where as the "5 seconds" message is from the very last test:

  { unsetopt MONITOR } 2>/dev/null
  coproc { read -Et 5 || kill -INT $$ }
  print -u $ZTST_fd 'This test takes 5 seconds to fail...'

So two tests have succeeded between the "Unable" message and the one
that hangs.  The inability to change MONITOR is a side-effect of no
controlling terminal, so the test warns you.  Actually the warning
could be stronger than that, because the inability to setpt MONITOR
renders the test invalid (it will always succeed, even in the case
we are trying to regress).



Messages sorted by: Reverse Date, Date, Thread, Author