Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: make the W02 test not take a full minute on linux
- X-seq: zsh-workers 54754
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Cc: zsh-workers@xxxxxxx
- Subject: Re: PATCH: make the W02 test not take a full minute on linux
- Date: Thu, 11 Jun 2026 06:59:34 +0200
- Arc-authentication-results: i=1; mx.google.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=07nxmnri/GH048EUMhiRsx6djygC01fr0VwOqrFItDA=; fh=QgfxxE0gysBJ7evxa0WZY5Olv+ibLYueRkqhtBdu00I=; b=R28Zd4qw5oCXOxO4fUPSwf56mr2ehusX7qNd4y9J5BVH9miiD9yma/sFm5R8cpaV+n 1tW1nzAcj1uRaC76dJBGj6S7bHlI/l65nz9urAQHPmwfUduXIu8q9UDPzTVG+gLtxD3K 2dA98Vo0o8FLkjsVKfEOWHBmO8u139Bl6vvmqwoTr6tdBcxFwl0duHLSNPYg3wG6J/WJ WXfoUDDOSHXWK2ACLOWcGg6ZB4jxWvWrZBBi1OLz5H/6UqklcT4o3VBYcsUkZg0DmGI6 I5IpNNukQIRG1g44sgztCP3UP/rw8wO49gsmSEpoAGCCtZjr/VoDes/KU/rAspcKpZV2 NkBg==; darn=zsh.org
- Arc-seal: i=1; a=rsa-sha256; t=1781153987; cv=none; d=google.com; s=arc-20240605; b=QBbMFsve/r03JoAqgQd9fo9caMwACkoEAUxpEDPe5X5AqDD9bCfCj2PZi27D3IuF/u OIYB5j6fUy4830rfJZhOZWiA4cLVTvtEkPUrrXtirEC4734wMagsJFYNj88VjE+i4D1T uJztXv1qwCKE+xmhPcHD/bILS7HXTk21Rz2drH3yI8ldEkuZpXKqShnENmQ7Kyo6DjVC pEhQt5T8pUo3OuahKDdD5qb7TcgD+G9icJiPvQK/ptNIpBgn0JxKoJtTxIjA3FlfzJwC YgHw+mRaRuZz+IdRsf/5s+8JX+lgXD/SNVZkOJPkPWvshnLLRde/PIYS6RR9h+G1f1o6 AEow==
- Archived-at: <https://zsh.org/workers/54754>
- In-reply-to: <CAH+w=7afyu9Og92J6ew77B0ZmuZvZFeBcf_wUBpZ_A-ZuY6H6w@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <20260611040700.26558-1-mikachu@gmail.com> <CAH+w=7afyu9Og92J6ew77B0ZmuZvZFeBcf_wUBpZ_A-ZuY6H6w@mail.gmail.com>
On Thu, Jun 11, 2026 at 6:19 AM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> On Wed, Jun 10, 2026 at 9:07 PM Mikael Magnusson <mikachu@xxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author