[Top][All Lists]

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

Re: [PATCH] Fix some failing tests in BSD systems

From: Dmitry Gutov
Subject: Re: [PATCH] Fix some failing tests in BSD systems
Date: Wed, 6 Jan 2021 19:17:44 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 06.01.2021 11:41, Daniel Martín wrote:

So I guess I should ask: was the particular behavior annoying by
itself, or is it only a problem because of the failing test?

I also wonder whether all macOS users see this, or whether it's maybe
fixed in some latest version of BSD find. Because it's apparently
(arguably) a bug: https://unix.stackexchange.com/a/320440/166215

I think the safest and simplest route is to just "fix" the tests so they
pass in all systems.  We shouldn't risk introducing regressions just to
work around what POSIX says could be a 'find' bug in some BSD systems
(and maybe only Apple systems, I don't have any other BSD system to test

Thanks, that makes sense. We do try to work around problems in widely installed software, but so far it seems Apple-only.

I've tried a few major versions of FreeBSD in a VM, going back to 11.4, and none have exhibited the problem. Guess we'll do the fix for the symlinks problem instead (the easy way), and then wait and see whether more reports come complaining about the double-slash issue.

It only causes a slight cosmetic problem, which should be fixed whenever
they fix the bug, without needing any code change from our side.

AFAIK Apple tries very hard to avoid updating to the latest versions of Unixy tools.

Luckily, there are now several projects that let users install fresh GNU versions of said tools (and other command-line programs).

reply via email to

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