On 11/11/2025 00:57, Collin Funk wrote:
Pádraig Brady <[email protected]> writes:

* tests/sort/sort-locale.sh: Check sort,ls have the same (non C) order.
* tests/local.mk: Reference the new test.
---
  tests/local.mk            |  1 +
  tests/sort/sort-locale.sh | 51 +++++++++++++++++++++++++++++++++++++++
  2 files changed, 52 insertions(+)
  create mode 100755 tests/sort/sort-locale.sh

Looks good to me. I assume a system wouldn't support a locale if it's
strcoll() implementation did not work correct?

Well the test purposefully doesn't fail in that case.
It only fails if sort and ls don't correlate.
If the system strcoll doesn't work, then they way the
test is written it will sort the same way as C and skip,
so at least we can investigate then.

cheers,
Padraig

Reply via email to