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

Re: [PATCH] zsh_eval_context: add math context



On Fri, Jul 3, 2026 at 4:47 PM Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
>
> This commit makes the test randomly fail for me.

I can confirm this, although I got the failure only once in 100 tries.
Same SIGPIPE result for that one.

Possibly useful tidbit ... I did it this way:

% ( typeset -i success=0 fails=0; repeat 100; do
subsh repeat> if make TESTNUM=D04 check
subsh repeat if> then success+=1; else fails+=1; fi; done
subsh> typeset -p success fails) >& /tmp/100tries &
[1] 437365
%

Something in the test kept hold of the tty process group.  Anything
else I tried to do at the original shell prompt before the loop
completed got TTIN and/or TTOU signals, and I sometimes got PROMPT_SP
markers popping up.




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