Mercurial > hg
diff tests/test-run-tests.t @ 48655:c95ace94f3ad
test: do not use `which` to find an exec path in the test
Posix is deprecated `which` in favor of `command -v`… which does not provide the same feature.
Debian is warning about this deprecation and this get annoying.
Differential Revision: https://phab.mercurial-scm.org/D11983
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 06 Jan 2022 17:15:49 +0100 |
parents | 21c0ae0693bc |
children | af0b21d5a930 |
line wrap: on
line diff
--- a/tests/test-run-tests.t Fri Jan 14 18:17:55 2022 +0100 +++ b/tests/test-run-tests.t Thu Jan 06 17:15:49 2022 +0100 @@ -21,7 +21,7 @@ error paths #if symlink - $ ln -s `which true` hg + $ ln -s "/"bin"/"true hg $ "$PYTHON" $TESTDIR/run-tests.py --with-hg=./hg ^warning: --with-hg should specify an hg script, not: (true|coreutils)$ (re) running 0 tests using 0 parallel processes