François Giron <address@hidden> wrote:
> Hello,
> I have a problem with coreutil update. I do fink update-all, then
> fink rebuild coreutils; but it's the same :
>
> Making check in basename
> make check-TESTS
> PASS: basic
> ==================
> All 1 tests passed
> ==================
> Making check in chgrp
> make check-TESTS
> ./no-x: /sw/src/fink.build/coreutils-5.96-1/coreutils-5.96/tests/
> chgrp: not writable by user `nobody'
> ./no-x: skipping this test
> SKIP: no-x
> PASS: posix-H
> expected actual differ: char 1, line 1
> 1,19c1,19
> < changed group of `f' to G1
...
> ---
>> Changement de groupe de `f' vers G1
...
> FAIL: basic
Thank you for reporting that.
The problem is that diagnostics are being printed in an unexpected
language in spite of the code in tests/lang-default that is supposed
to force all diagnostics to be printed in English.
Please edit your copy of tests/chgrp/basic and add these lines
LC_ALL=C
export LC_ALL
after this one:
. $srcdir/../group-names
Then rerun that test:
make -C tests/chgrp TESTS=basic
If it still fails the same way (with French vs. English differences),
please run the following script and report what it prints:
#!/bin/sh
for i in \
LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_MESSAGES LC_NUMERIC LC_TIME; do
eval "$i=; export $i"
done
env
locale