comparison tests/test-run-tests.t @ 48313:bc04a7615c96 stable

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: https://phab.mercurial-scm.org/D11740
author pacien <pacien.trangirard@pacien.net>
date Tue, 09 Nov 2021 02:16:43 +0100
parents eb611ecb435c
children 21c0ae0693bc
comparison
equal deleted inserted replaced
48312:7dd48d5da64f 48313:bc04a7615c96
21 error paths 21 error paths
22 22
23 #if symlink 23 #if symlink
24 $ ln -s `which true` hg 24 $ ln -s `which true` hg
25 $ "$PYTHON" $TESTDIR/run-tests.py --with-hg=./hg 25 $ "$PYTHON" $TESTDIR/run-tests.py --with-hg=./hg
26 warning: --with-hg should specify an hg script, not: true 26 ^warning: --with-hg should specify an hg script, not: (true|coreutils)$ (re)
27 running 0 tests using 0 parallel processes 27 running 0 tests using 0 parallel processes
28 28
29 # Ran 0 tests, 0 skipped, 0 failed. 29 # Ran 0 tests, 0 skipped, 0 failed.
30 $ rm hg 30 $ rm hg
31 #endif 31 #endif