[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: test-org-table/sort-lines: Failing test on macOS
From: |
Max Nikulin |
Subject: |
Re: test-org-table/sort-lines: Failing test on macOS |
Date: |
Sat, 8 Oct 2022 21:27:39 +0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 |
On 08/10/2022 12:25, Ihor Radchenko wrote:
Max Nikulin writes:
When case is not ignored (4th argument is nil) locale-dependent
collation rules are used, so you get the expected result.
$ printf 'a\nB\n' | LC_COLLATE=C sort
B
a
$ printf 'a\nB\n' | LC_COLLATE=en_US.UTF-8 sort
a
B
Should we then modify the test to set locale explicitly?
Rudolf cited the context of this test and "C" locale is explicitly used
there.
IDK if it is related, but there was a recent (fixed) bug in
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55787
I have not tried to find commits to check if only version sort is affected.
Note that Rudolf is using Emacs 29.
and macOS, so libc and locales version may be different as well.
- test-org-table/sort-lines: Failing test on macOS, Rudolf Adamkovič, 2022/10/06
- Re: test-org-table/sort-lines: Failing test on macOS, Max Nikulin, 2022/10/07
- Re: test-org-table/sort-lines: Failing test on macOS, Ihor Radchenko, 2022/10/08
- Re: test-org-table/sort-lines: Failing test on macOS,
Max Nikulin <=
- Re: test-org-table/sort-lines: Failing test on macOS, Ihor Radchenko, 2022/10/08
- Re: test-org-table/sort-lines: Failing test on macOS, Rudolf Adamkovič, 2022/10/09
- Re: test-org-table/sort-lines: Failing test on macOS, Max Nikulin, 2022/10/09
- Re: test-org-table/sort-lines: Failing test on macOS, Rudolf Adamkovič, 2022/10/10
- Re: test-org-table/sort-lines: Failing test on macOS, Max Nikulin, 2022/10/12