Read about our upcoming Code of Conduct on this issue

Commit efa1a662 authored by Pacien TRAN-GIRARD's avatar Pacien TRAN-GIRARD
Browse files

tests: allow the true command to be provided by coreutils

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.

Differential Revision:

branch : stable
parent 7dd48d5da64f
......@@ -23,7 +23,7 @@ error paths
#if symlink
$ ln -s `which true` hg
$ "$PYTHON" $TESTDIR/ --with-hg=./hg
warning: --with-hg should specify an hg script, not: true
^warning: --with-hg should specify an hg script, not: (true|coreutils)$ (re)
running 0 tests using 0 parallel processes
# Ran 0 tests, 0 skipped, 0 failed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment