Some commands used in tests use features not available on macos:
sed -i ... requires a file extension to be passed as an argument, and the original file is preserved as a copy with the given extension appended
grep -P ... is not implemented
I updated the tests to use perl instead as its behaviour will be consistent across different unixes.
Also, when using homebrew as a package manager, opam incorrectly reports non-existent packages as available, presumably because brew provides no fast way to query for the existence of non-installed packages. This was causing a depext test to fail on macos.
Some commands used in tests use features not available on macos:
sed -i ...
requires a file extension to be passed as an argument, and the original file is preserved as a copy with the given extension appendedgrep -P ...
is not implementedI updated the tests to use perl instead as its behaviour will be consistent across different unixes.
Also, when using homebrew as a package manager, opam incorrectly reports non-existent packages as available, presumably because brew provides no fast way to query for the existence of non-installed packages. This was causing a depext test to fail on macos.
Signed-off-by: Stephen Sherratt stephen@sherra.tt