coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coreutils-9.9.258-49420 on Haiku


From: Pádraig Brady
Subject: Re: coreutils-9.9.258-49420 on Haiku
Date: Sat, 24 Jan 2026 18:58:36 +0000
User-agent: Mozilla Thunderbird Beta

On 24/01/2026 18:07, Collin Funk wrote:
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

Hardlink support is configurable I think on some network file systems,
it might be better to be more general if possible.

I wonder could we create a hardlink with something other than ln etc.
and use test -ef to verify it was created, rather than maintaining
a negative list.

Also is it "befs" or "bfs" ?

cheers,
Padraig



reply via email to

[Prev in Thread] Current Thread [Next in Thread]