tests/narrow-library.sh
author pacien <pacien.trangirard@pacien.net>
Tue, 09 Nov 2021 02:16:43 +0100
branchstable
changeset 48313 bc04a7615c96
parent 47032 1d075b857c90
child 47951 9c4204b7f3e4
permissions -rw-r--r--
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

cat >> $HGRCPATH <<EOF
[extensions]
narrow=
[ui]
ssh="$PYTHON" "$RUNTESTDIR/dummyssh"
[experimental]
changegroup3 = True
EOF