[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#6217: new test failure: misc/sort-debug-keys
From: |
Jim Meyering |
Subject: |
bug#6217: 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
- bug#6217: new test failure: misc/sort-debug-keys,
Jim Meyering <=