GNU bug report logs - #6217
new test failure: misc/sort-debug-keys

Previous Next

Package: coreutils;

Reported by: Jim Meyering <jim <at> meyering.net>

Date: Tue, 18 May 2010 21:16:02 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 6217 in the body.
You can then email your comments to 6217 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#6217; Package coreutils. (Tue, 18 May 2010 21:16:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jim Meyering <jim <at> meyering.net>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Tue, 18 May 2010 21:16:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: bug-coreutils <at> gnu.org
Cc: Pádraig Brady <P <at> draigBrady.com>
Subject: new test failure: misc/sort-debug-keys
Date: Tue, 18 May 2010 23:15:25 +0200
Hi Pádraig,

I've just noticed this failure:

  http://hydra.nixos.org/build/411307/nixlog/1/raw

but don't have time to look at it now.
I suspect that LC_ALL=none is the problem.

FAIL: misc/sort-debug-keys (exit: 1)
====================================
sort: key 1 is numeric and spans multiple fields
+ printf '2,,3\n2.4\n'
+ sort -s -k1n --debug
sort: using simple byte comparison
sort: key 1 is numeric and spans multiple fields
+ printf '1a\x002b\x00'
+ sort -s -n -z --debug
sort: using simple byte comparison
+ compare out exp
+ diff -u out exp
+ cat
+ test none
+ echo '   1²---++3   1,234  Mi'
+ LC_ALL=C
+ sort --debug -k2g -k1b,1
sort: using simple byte comparison
sort: key 1 is numeric and spans multiple fields
+ echo '   1²---++3   1,234  Mi'
+ LC_ALL=none
+ sort --debug -k2g -k1b,1
sort: using simple byte comparison
sort: key 1 is numeric and spans multiple fields
+ echo '+1234 1234Gi 1,234M'
+ LC_ALL=none
+ sort --debug -k1,1n -k1,1g -k1,1h -k2,2n -k2,2g -k2,2h -k3,3n -k3,3g -k3,3h
sort: using simple byte comparison
+ compare out exp
+ diff -u out exp
--- out	2010-05-18 19:07:46.569714878 +0000
+++ exp	2010-05-18 19:07:46.564714926 +0000
@@ -3,9 +3,9 @@
    _________
 ________________________
    1²---++3   1,234  Mi
-               _
-   _________
-________________________
+              _____
+   ________
+_______________________
 +1234 1234Gi 1,234M
 ^ no match for key
 _____
@@ -13,7 +13,7 @@
       ____
       ____
       ______
-             _
-             _
-             _
+             _____
+             _____
+             ______
 ___________________
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1




Reply sent to Pádraig Brady <P <at> draigBrady.com>:
You have taken responsibility. (Tue, 18 May 2010 22:54:01 GMT) Full text and rfc822 format available.

Notification sent to Jim Meyering <jim <at> meyering.net>:
bug acknowledged by developer. (Tue, 18 May 2010 22:54:01 GMT) Full text and rfc822 format available.

Message #10 received at 6217-done <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Jim Meyering <jim <at> meyering.net>
Cc: 6217-done <at> debbugs.gnu.org
Subject: Re: bug#6217: new test failure: misc/sort-debug-keys
Date: Tue, 18 May 2010 23:51:37 +0100
On 18/05/10 22:15, Jim Meyering wrote:
> Hi Pádraig,
> 
> I've just noticed this failure:
> 
>   http://hydra.nixos.org/build/411307/nixlog/1/raw
> 
> but don't have time to look at it now.
> I suspect that LC_ALL=none is the problem.

Sigh, I noticed the failure right after I checked in,
and thought I had fixed it with 144d6e5f, but misread
the tarball and manual successes as a build success :(

This should hopefully fix it.

sorry,
Pádraig.

diff --git a/tests/misc/sort-debug-keys b/tests/misc/sort-debug-keys
index 0f05025..6714a47 100755
--- a/tests/misc/sort-debug-keys
+++ b/tests/misc/sort-debug-keys
@@ -300,7 +300,8 @@ _____
 ___________________
 EOF

-if test "$LOCALE_FR_UTF8"; then
+: ${LOCALE_FR_UTF8=none}
+if test "$LOCALE_FR_UTF8" != "none"; then





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 16 Jun 2010 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 68 days ago.

Previous Next


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