( )⚙ D11740 tests: allow the true command to be provided by coreutils

This is an archive of the discontinued Mercurial Phabricator instance.

tests: allow the true command to be provided by coreutils
ClosedPublic

Authored by Alphare on Nov 9 2021, 8:18 AM.

Details

Summary

The true command is sometimes provided as a symbolic link to the coreutils
single binary. This is the case on NixOS, on which the test was failing because
the symbolic link fully resolves to the latter name, equally valid but not
previously accepted by the test's golden output.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.