Bruno Haible <bruno@clisp.org> writes:
Collin Funk wrote:
The last time I checked Coreutils on Haiku most of the failures were
because LC_ALL=C there is UTF-8. So error messages would use ‘...’
instead of '...', causing tests to fail.
But this seems unrelated to the use of gettext(): When I configure with
--disable-nls, thus disabling gettext(), it does not change the number of
failing tests.
Sorry, maybe I was misremembering. Looking at the test-suite.log on
Haiku I can see some issues.
Most of the failures are because BeFS, which I assume you also used,
does not support hard links. I'll see if I can adjust the test suite for
that, but thankfully most of them aren't coreutils bugs.
My idea was to add a function like this in init.cfg:
supports_hardlinks_ ()
{
require_built_ stat
test $(stat -f -c %T .) != bfs
}
And using that to skip tests which need hard links. Pádraig, do you see
any issues with that idea?
Collin