Re: [PATCH] zsh_eval_context: add math context

Bart Schaefer <[email protected]> Fri, 3 Jul 2026 18:40:39 -0700
Newsgroups gmane.comp.shells.zsh.devel
Message-ID <CAH+w=7barxGe13yrdw6CUW-_mfiFXH2_FtzJBpCv2k6bxLzg1Q@mail.gmail.com>
On Fri, Jul 3, 2026 at 4:47 PM Mikael Magnusson <[email protected]> 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.