Re: PATCH: make the W02 test not take a full minute on linux
Mikael Magnusson <[email protected]> Thu, 11 Jun 2026 06:59:34 +0200
| Newsgroups | gmane.comp.shells.zsh.devel |
|---|---|
| Message-ID | <CAHYJk3SRjzpY-p3V2NWt+vpjJMgv8+aspf8zt8K6nr-0-c+sow@mail.gmail.com> |
On Thu, Jun 11, 2026 at 6:19 AM Bart Schaefer <[email protected]> wrote: > > On Wed, Jun 10, 2026 at 9:07 PM Mikael Magnusson <[email protected]> wrote: > > > > + zpty -w zsh 'alias sleep="sleep 1>&- 2>&- 0<&-"' > > Didn't we have some odd errors with closed stdio descriptors in another context? > > Just wondering if e.g. "sleep <>/dev/null 2>&1" might be better. Also needs a 0</dev/null, but yeah, that works too. I have no preference either way. But if odd errors can pop up, isn't it good if they happen in a test? :) -- Mikael Magnusson