Hello Bernhard,
Bernhard Voelker wrote, On 02/08/2013 09:53 AM:
> On February 7, 2013 at 8:57 PM "Pádraig Brady" <[email protected]> wrote:
>> coreutils snapshot:
>> http://pixelbeat.org/cu/coreutils-8.20.113-1f1f4.tar.xz
>
> Hi Padraig,
>
> * SLES-10.4 (x86_64):
> gcc (GCC) 4.1.2 20070115 (SUSE Linux)
>
> FAIL: tests/misc/numfmt.pl
>
Regarding the 'numfmt' failures - these are locale-related problems (in both
cases).
Perhaps I wrote the tests incorrectly.
May I ask you to try the followings on those systems, and send the output (or
compare with this expected output):
# The french locale is used for locale testing - if it doesn't exist,
those tests should not run at all.
$ locale -a | grep -i fr
fr_FR.utf8
# First try without locale (this is test 'lcl-grp-1' which succeeded)
$ LC_ALL=C ./src/numfmt --debug --grouping --from=si 7M
./src/numfmt: grouping has no effect in this locale
7000000
# Try grouping, the expected output should have a space as
thousands-separator
# this is test lcl-grp-3 which failed, on your system the result was
"7000000"
$ LC_ALL=fr_FR.utf8 ./src/numfmt --debug --grouping --from=si 7M
7 000 000
Thanks!
-gordon