Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: A second test release before 5.9 final?
- X-seq: zsh-workers 50158
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: A second test release before 5.9 final?
- Date: Sun, 01 May 2022 18:49:20 +0100
- Archived-at: <https://zsh.org/workers/50158>
- In-reply-to: <CAH+w=7bby1GiKxTL9Y3M6Xuhe56EQdRHDsabbShfWNLkdkxhsg@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAH+w=7Zf5b_1YFy1_2p3fJ1h-oWuvRnmRE4HjDGa3z=+54UgyA@mail.gmail.com> <2d3ff4e4-b705-4823-a49b-ba8844bd1b05@www.fastmail.com> <CAH+w=7bby1GiKxTL9Y3M6Xuhe56EQdRHDsabbShfWNLkdkxhsg@mail.gmail.com>
On Sun, 2022-05-01 at 09:50 -0700, Bart Schaefer wrote:
> I'm not sure how to write a test for 50134 because it requires
> starting an interactive shell, waiting several seconds, then sending
> it a SIGINT and discovering whether it exited immediately or N seconds
> later.
Really interactive tests (beyond the level of simulated keystrokes or
delays) is really hard to test robustly. Certainly what we've got at
the moment doesn't cut the mustard. I had a quick look a while ago for
something that might be more robust but didn't see anything that looked
like it would work out of the box, and I certainly don't think any of us
are going to be doing it from scratch.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author