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 50161
- From: Jun T <takimoto-j@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: A second test release before 5.9 final?
- Date: Mon, 2 May 2022 11:24:00 +0900
- Archived-at: <https://zsh.org/workers/50161>
- In-reply-to: <20220501173858.GA31441@tarpaulin.shahaf.local2>
- 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> <20220501173858.GA31441@tarpaulin.shahaf.local2>
> 2022/05/02 2:38, Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
>
> --- a/Test/D07multibyte.ztst
> +++ b/Test/D07multibyte.ztst
(snip)
> +0:(workers/50150) zsh/stat with Unicode and metafication
> +>50150-Ą 0
> +>50150-é 0
On macOS this fails as:
Testing multibyte with locale en_US.UTF-8
--- /tmp/zsh.ztst.90230/ztst.out 2022-05-02 10:11:21.000000000 +0900
+++ /tmp/zsh.ztst.90230/ztst.tout 2022-05-02 10:11:21.000000000 +0900
@@ -1,2 +1,2 @@
-50150-Ą 0
50150-é 0
+50150-Ą 0
Test ./D07multibyte.ztst failed: output differs from expected as shown above for:
# 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-*
)
Was testing: (workers/50150) zsh/stat with Unicode and metafication
It seems macOS uses collating order é < Ą (this may or may not a bug of macOS).
If we need to test the two characters the simplest workaround would be:
zstat +size -nor -- 50150-Ą
zstat +size -nor -- 50150-é
Messages sorted by:
Reverse Date,
Date,
Thread,
Author