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 50157
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: A second test release before 5.9 final?
- Date: Sun, 1 May 2022 17:38:58 +0000
- Archived-at: <https://zsh.org/workers/50157>
- 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>
Bart Schaefer wrote on Sun, May 01, 2022 at 09:50:14 -0700:
> On Sun, May 1, 2022 at 7:53 AM Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
> >
> > Bart Schaefer wrote on Sat, 30 Apr 2022 18:31 +00:00:
> > > I've gone ahead with pushing 50150, 50149, 50136, and 50134
> >
> > Looks like none of these have tests. It would be great if someone could
> > contribute these — either you if you have time, or if you don't, just
> > say so and someone else can jump in.
>
> I'd appreciate it if you wrote the zstat test for 50150.
Sure.
diff --git a/Test/D07multibyte.ztst b/Test/D07multibyte.ztst
index cbd802f23..3c2dc082b 100644
--- a/Test/D07multibyte.ztst
+++ b/Test/D07multibyte.ztst
@@ -627,3 +627,14 @@ F:support character sets outside the portable 7-bit range.
0:locale gets restored when locale parameters go out of scope (regression test for 45772)
>❯
>❯
+
+ # Subshell for zmodload isolation
+ (
+ zmodload zsh/stat
+ touch 50150-é 50150-Ą
+ # Using +size solely in order to make it easier to write the expectations
+ zstat +size -nor -- 50150-*
+ )
+0:(workers/50150) zsh/stat with Unicode and metafication
+>50150-Ą 0
+>50150-é 0
> The tests for 50101, 50126, 50136, and 50149 should be
> straightforward, I'll work on those.
Thank you.
> 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.
*nod*
Daniel
Messages sorted by:
Reverse Date,
Date,
Thread,
Author