Re: RCS 5.10.1 fails 6 tests on 2023 Mac Studio with macOS 15.0 Sequoia

Collin Funk <[email protected]> Wed, 25 Sep 2024 20:53:29 -0700
Newsgroups gmane.comp.version-control.rcs.bugs
Message-ID <[email protected]>
Hi Ron & Paul,

Paul Eggert <[email protected]> writes:

> and then inspecting the files in tests/t160.d. I am attaching the
> files I got in tests/t160.d on my platform, so that you can compare
> the expected results to the actual results.
>
> You can also take a look at the other failing test but I thought we'd
> start with the first one.

These tests fail because of the 'diff' and 'diff3' programs installed
installed on MacOS by default.

If you install GNU Diffutils and run ./configure with GNU 'diff' and
'diff3' first in your path then all the tests should be successful [1].

Perhaps it is worth using posix_spawnp or similar instead of a
hard-coded path in config.h. Or having some --diff-program argument
similar to what GNU 'diff3' has...

[1] https://www.gnu.org/software/diffutils/