Re: PATCH: make the W02 test not take a full minute on linux

Bart Schaefer <[email protected]> Thu, 11 Jun 2026 11:05:58 -0700
Newsgroups gmane.comp.shells.zsh.devel
Message-ID <CAH+w=7Zr+5RsmPrCdJtdwCgJabdAN+WeRcjzbpgOe-C2VnqWtQ@mail.gmail.com>
On Wed, Jun 10, 2026 at 9:59 PM Mikael Magnusson <[email protected]> wrote:
>
> > Just wondering if e.g. "sleep <>/dev/null 2>&1" might be better.
>
> Also needs a 0</dev/null

Does it?

% { [[ -t 0 ]] & print -u2 terminal } <>/dev/null
%

> But if odd errors can pop up, isn't it good if
> they happen in a test? :)

Fair enough.