Re: [PATCH] zsh_eval_context: add math context
Mikael Magnusson <[email protected]> Sat, 4 Jul 2026 01:46:45 +0200
| Newsgroups | gmane.comp.shells.zsh.devel |
|---|---|
| Message-ID | <CAHYJk3QoJv5P_cBV6k4y66f0z+jKk6bv8y7dzzKLxzJCUS7Lmw@mail.gmail.com> |
On Mon, Jun 22, 2026 at 4:18 AM dana <[email protected]> wrote: > > On Mon 22 Jun 2026, at 01:52, Jun T wrote: > > ': >( cmd )' and '() { echo > $1 } >( cmd )' are handled by getproc() > > but ': > >( cmd )' is handled by getpipe() (both are in exec.c). > > I thought you wanted to test both cases. > > oh, i completely missed the next line, sorry again. tbh i don't remember > my thought process, but i suppose it's as you say. please commit as you > see fit This commit makes the test randomly fail for me. % typeset -i success=0 fails=0; repeat 100; do if /usr/bin/make TESTNUM=D04 check; then success+=1; else fails+=1; fi; done; typeset -p success fails typeset -i success=79 typeset -i fails=21 (With the patch reverted, it always succeeds) The error is not super helpful: D04parameter.ztst: starting. D04parameter.ztst: failed: SIGPIPE. -- Mikael Magnusson