--- Begin Message ---
Subject: |
1 of 390 tests failed (misc/sort-debug-keys) |
Date: |
Fri, 17 Jun 2011 18:55:53 +0200 |
User-agent: |
KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) |
From the latest git version `v8.12-87-g23ddefd', testsuite run by
"nice -n19 make check", using various developement version of other
tools (e.g, sed, awk, make, ...).
Attached are the config.log and tests/test-suite.log, both compressed,
and the uncompressed log of the failing test.
Let me know if you need more information.
Regards,
Stefano
test-suite.log.xz
Description: application/xz
config.log.xz
Description: application/xz
FAIL: misc/sort-debug-keys (exit: 1)
====================================
++ initial_cwd_=/usr/local/bleeding/src/coreutils/tests
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /usr/local/bleeding/src/coreutils/tests gt-sort-debug-keys.XXXX
+++ case $# in
+++ destdir_=/usr/local/bleeding/src/coreutils/tests
+++ template_=gt-sort-debug-keys.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ case $template_ in
++++ unset TMPDIR
++++ mktemp -d -t -p /usr/local/bleeding/src/coreutils/tests
gt-sort-debug-keys.XXXX
+++ d=/usr/local/bleeding/src/coreutils/tests/gt-sort-debug-keys.i6qI
+++ case $d in
+++ test -d /usr/local/bleeding/src/coreutils/tests/gt-sort-debug-keys.i6qI
++++ ls -dgo /usr/local/bleeding/src/coreutils/tests/gt-sort-debug-keys.i6qI
++++ tr S -
+++ perms='drwx------ 2 4096 Jun 17 18:41
/usr/local/bleeding/src/coreutils/tests/gt-sort-debug-keys.i6qI'
+++ case $perms in
+++ test 0 = 0
+++ echo /usr/local/bleeding/src/coreutils/tests/gt-sort-debug-keys.i6qI
+++ return
++ test_dir_=/usr/local/bleeding/src/coreutils/tests/gt-sort-debug-keys.i6qI
++ cd /usr/local/bleeding/src/coreutils/tests/gt-sort-debug-keys.i6qI
++ gl_init_sh_nl_='
'
++ IFS='
'
++ for sig_ in 1 2 3 13 15
+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
++ for sig_ in 1 2 3 13 15
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
++ for sig_ in 1 2 3 13 15
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
++ for sig_ in 1 2 3 13 15
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
++ for sig_ in 1 2 3 13 15
+++ expr 15 + 128
++ eval 'trap '\''Exit 143'\'' 15'
+++ trap 'Exit 143' 15
++ trap remove_tmp_ 0
+ path_prepend_ ../src
+ test 1 '!=' 0
+ path_dir_=../src
+ case $path_dir_ in
++ cd /usr/local/bleeding/src/coreutils/tests/../src
++ echo /usr/local/bleeding/src/coreutils/src
+ abs_path_dir_=/usr/local/bleeding/src/coreutils/src
+ case $abs_path_dir_ in
+
PATH=/usr/local/bleeding/src/coreutils/src:/usr/local/bleeding/src/coreutils/src:/usr/local/bleeding/binutils/bin:/usr/local/bleeding/bin:/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin
+ create_exe_shims_ /usr/local/bleeding/src/coreutils/src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ sort
+ test yes = yes
+ local i
+ for i in '$*'
+ env sort --version
sort (GNU coreutils) 8.12.87-23dd
Packaged by Bleeding Edge Support (v8.12-87-g23ddefd)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Mike Haertel and Paul Eggert.
+ cat
+ for type in n h g
+ printf '1\n\n44\n33\n2\n'
+ sort -s -k2n --debug
sort: using simple byte comparison
sort: key 1 is numeric and spans multiple fields
+ printf '1\n\n44\n33\n2\n'
+ sort -s -k1.3n --debug
sort: using simple byte comparison
sort: leading blanks are significant in key 1; consider also specifying `b'
sort: key 1 is numeric and spans multiple fields
+ printf '1\n\n44\n33\n2\n'
+ sort -s -k1n --debug
sort: using simple byte comparison
sort: key 1 is numeric and spans multiple fields
+ printf '2\n\n1\n'
+ number
+ cat -n
+ sed 's/^ *//'
+ sort -s -k2g --debug
sort: using simple byte comparison
sort: key 1 is numeric and spans multiple fields
+ for type in n h g
+ printf '1\n\n44\n33\n2\n'
+ sort -s -k2h --debug
sort: using simple byte comparison
sort: key 1 is numeric and spans multiple fields
+ printf '1\n\n44\n33\n2\n'
+ sort -s -k1.3h --debug
sort: using simple byte comparison
sort: leading blanks are significant in key 1; consider also specifying `b'
sort: key 1 is numeric and spans multiple fields
+ printf '1\n\n44\n33\n2\n'
+ sort -s -k1h --debug
sort: using simple byte comparison
sort: key 1 is numeric and spans multiple fields
+ printf '2\n\n1\n'
+ number
+ cat -n
+ sed 's/^ *//'
+ sort -s -k2g --debug
sort: using simple byte comparison
sort: key 1 is numeric and spans multiple fields
+ for type in n h g
+ printf '1\n\n44\n33\n2\n'
+ sort -s -k2g --debug
sort: using simple byte comparison
sort: key 1 is numeric and spans multiple fields
+ printf '1\n\n44\n33\n2\n'
+ sort -s -k1.3g --debug
sort: using simple byte comparison
sort: leading blanks are significant in key 1; consider also specifying `b'
sort: key 1 is numeric and spans multiple fields
+ printf '1\n\n44\n33\n2\n'
+ sort -s -k1g --debug
sort: using simple byte comparison
sort: key 1 is numeric and spans multiple fields
+ printf '2\n\n1\n'
+ number
+ cat -n
+ sed 's/^ *//'
+ sort -s -k2g --debug
sort: using simple byte comparison
sort: key 1 is numeric and spans multiple fields
+ printf 'FEB\n\nJAN\n'
+ sort -s -k1M --debug
sort: using simple byte comparison
+ printf 'FEB\n\nJAN\n'
+ sort -s -k2,2M --debug
sort: using simple byte comparison
+ printf 'FEB\nJAZZ\n\nJAN\n'
+ sort -s -k1M --debug
sort: using simple byte comparison
+ printf 'FEB\nJAZZ\n\nJAN\n'
+ number
+ cat -n
+ sed 's/^ *//'
+ sort -s -k2,2M --debug
sort: using simple byte comparison
+ printf 'FEB\nJANZ\n\nJAN\n'
+ sort -s -k1M --debug
sort: using simple byte comparison
+ printf 'FEB\nJANZ\n\nJAN\n'
+ number
+ cat -n
+ sed 's/^ *//'
+ sort -s -k2,2M --debug
sort: using simple byte comparison
+ printf ' 1.2ignore\n 1.1e4ignore\n'
+ sort -s -g --debug
sort: using simple byte comparison
+ printf '\tb\n\t\ta\n'
+ sort -s -d --debug
sort: using simple byte comparison
+ printf 'a\n\n'
+ sort -s -k2,2 --debug
sort: using simple byte comparison
+ printf 'b\na\n'
+ sort -s -k1 --debug
sort: using simple byte comparison
+ printf -- '-0\n1\n-2\n--Mi-1\n-3\n-0\n'
+ sort -s --debug -k1,1h
sort: using simple byte comparison
+ printf ' 1\n1\n'
+ sort -b --debug
sort: using simple byte comparison
+ printf ' 1\n1\n'
+ sort -sb --debug
sort: using simple byte comparison
+ printf ' 1\n1\n'
+ sort --debug
sort: using simple byte comparison
+ printf '2,5\n2.4\n'
+ sort -s -k1n --debug
sort: using simple byte comparison
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 '2,,3\n2.4\n'
+ sort -s -k1n --debug
sort: using simple byte comparison
sort: key 1 is numeric and spans multiple fields
+ env printf '1a\x002b\x00'
+ sort -s -n -z --debug
sort: using simple byte comparison
+ printf '\0\ta\n'
+ sort -s -k2b,2 --debug
sort: using simple byte comparison
+ tr -d '\0'
+ printf 'A\tchr10\nB\tchr1\n'
+ sort -s -k2.4b,2.3n --debug
sort: using simple byte comparison
sort: leading blanks are significant in key 1; consider also specifying `b'
+ compare out exp
+ diff -u out exp
+ cat
+ : fr_FR.UTF-8
+ test fr_FR.UTF-8 '!=' 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=fr_FR.UTF-8
+ sort --debug -k2g -k1b,1
sort: utilse les règles de tri « fr_FR.UTF-8 »
sort: le mot-clé 1 est numérique et s'étend sur plusieurs champs
+ echo '+1234 1234Gi 1,234M'
+ LC_ALL=fr_FR.UTF-8
+ sort --debug -k1,1n -k1,1g -k1,1h -k2,2n -k2,2g -k2,2h -k3,3n -k3,3g -k3,3h
sort: utilse les règles de tri « fr_FR.UTF-8 »
+ compare out exp
+ diff -u out exp
--- out 2011-06-17 18:41:47.000000000 +0200
+++ exp 2011-06-17 18:41:47.000000000 +0200
@@ -7,9 +7,9 @@
________
_______________________
+1234 1234Gi 1,234M
-^ ne correspond à aucun mot-clé
+^ no match for key
_____
-^ ne correspond à aucun mot-clé
+^ no match for key
____
____
_____
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /usr/local/bleeding/src/coreutils/tests
+ chmod -R u+rwx /usr/local/bleeding/src/coreutils/tests/gt-sort-debug-keys.i6qI
+ rm -rf /usr/local/bleeding/src/coreutils/tests/gt-sort-debug-keys.i6qI
+ exit 1
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#8883: 1 of 390 tests failed (misc/sort-debug-keys) |
Date: |
Fri, 17 Jun 2011 20:34:25 +0200 |
Stefano Lattarini wrote:
> From the latest git version `v8.12-87-g23ddefd', testsuite run by
> "nice -n19 make check", using various developement version of other
> tools (e.g, sed, awk, make, ...).
Thanks for the testing and the report.
That was an interesting one.
I've never seen it because I build too often with --disable-nls.
And even without --disable-nls, if you used a --prefix= pointing
to a hierarchy with no prior installation, you'd see this failure
only if you run "make install" *before* "make check".
[marking this "done" already, but I'd welcome any feedback,
and won't push right away ;-) ]
>From 9e7ce2c871677422d42ba1616c32ac4f3b9fc002 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Fri, 17 Jun 2011 20:30:10 +0200
Subject: [PATCH] tests: sort-debug-keys: fix a bug with translated
diagnostics
Ensure that English diagnostics are emitted even when using
French sorting rules.
* tests/misc/sort-debug-keys: Unset LC_ALL and set LC_COLLATE,
LC_CTYPE and LC_NUMERIC to the fr_FR.UTF-8 locale, while setting
LC_MESSAGES=C. Reported by Stefano Lattarini.
---
tests/misc/sort-debug-keys | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/tests/misc/sort-debug-keys b/tests/misc/sort-debug-keys
index 238c33e..b4c2fb7 100755
--- a/tests/misc/sort-debug-keys
+++ b/tests/misc/sort-debug-keys
@@ -308,16 +308,21 @@ _____
___________________
EOF
+unset LC_ALL
+f=$LOCALE_FR_UTF8
+
: ${LOCALE_FR_UTF8=none}
if test "$LOCALE_FR_UTF8" != "none"; then
(
echo ' 1²---++3 1,234 Mi' |
LC_ALL=C sort --debug -k2g -k1b,1
echo ' 1²---++3 1,234 Mi' |
- LC_ALL=$LOCALE_FR_UTF8 sort --debug -k2g -k1b,1
+ LC_COLLATE=$f LC_CTYPE=$f LC_NUMERIC=$f LC_MESSAGES=C \
+ sort --debug -k2g -k1b,1
echo '+1234 1234Gi 1,234M' |
- LC_ALL=$LOCALE_FR_UTF8 sort --debug -k1,1n -k1,1g \
- -k1,1h -k2,2n -k2,2g -k2,2h -k3,3n -k3,3g -k3,3h
+ LC_COLLATE=$f LC_CTYPE=$f LC_NUMERIC=$f LC_MESSAGES=C \
+ sort --debug -k1,1n -k1,1g \
+ -k1,1h -k2,2n -k2,2g -k2,2h -k3,3n -k3,3g -k3,3h
) > out
compare out exp || fail=1
fi
--
1.7.6.rc0.293.g40857
--- End Message ---