GNU bug report logs - #65310
test failure on Alpine Linux: tests/sort/sort-debug-keys

Previous Next

Package: coreutils;

Reported by: Bruno Haible <bruno <at> clisp.org>

Date: Tue, 15 Aug 2023 13:16:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Pádraig Brady <P <at> draigBrady.com>
To: Bruno Haible <bruno <at> clisp.org>, 65310 <at> debbugs.gnu.org
Subject: bug#65310: test failure on Alpine Linux: tests/sort/sort-debug-keys
Date: Tue, 15 Aug 2023 16:50:31 +0100
[Message part 1 (text/plain, inline)]
On 15/08/2023 14:14, Bruno Haible wrote:
> Hi,
> 
> Doing "make check" of current coreutils on Alpine Linux 3.18, I see a
> test failure that I didn't see with the coreutils-9.3 release:
> 
> FAIL: tests/sort/sort-debug-keys
> 
> I'm attaching the relevant part of tests/test-suite.log.

In the log we have:

  + LC_ALL=fr_FR.UTF-8 sort --debug -k2g -k1b,1
  sort: text ordering performed using ‘fr_FR.UTF-8’ sorting rules
  sort: note numbers use ‘.’ as a decimal point in this locale

The fact that ',' isn't used as the decimal point is surprising,
and is what's causing the test to fail.
The attached adds an extra guard to the test to skip this portion
if ',' is not in fact the decimal point.

cheers,
Pádraig
[coreutils-alpine-decimal-test.patch (text/x-patch, attachment)]

This bug report was last modified 1 year and 284 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.