coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coreutils-9.4.170-7b206 misc/numfmt test failure


From: Pádraig Brady
Subject: Re: coreutils-9.4.170-7b206 misc/numfmt test failure
Date: Tue, 26 Mar 2024 20:11:43 +0000
User-agent: Mozilla Thunderbird

On 26/03/2024 18:54, Bruno Haible wrote:
Pádraig Brady wrote:
The misc/numfmt test fails on
    - Alpine Linux 3.18,
    - macOS 12.5,
    - FreeBSD 14.0,
    - Solaris 11 OpenIndiana.

Find attached the test-suite.log files.

If these test failures are due to platform-specific *printf bugs, please
provide a test case for *printf at the C level. Then I can add a workaround
in Gnulib.

The failures were due to an empty thousands grouping char
in the fr_FR.UTF-8 locale on those systems. Fixed with:
https://github.com/coreutils/coreutils/commit/c0f02a8f5

The failures on Alpine Linux and macOS are gone.
However, the test failures on FreeBSD 14.0 and Solaris 11 OpenIndiana are
still present.

FreeBSD 14 at least looks to be counting bytes rather than chars
from the field width specs. The attached avoids this test portion
if there is a mismatch between printf(1) and the expected width.

cheers,
Pádraig

Attachment: tests-numfmt-locale-widths.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]