--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#6217: new test failure: misc/sort-debug-keys |
Date: |
Tue, 18 May 2010 23:51:37 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 |
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
--- End Message ---