tests: use the right python when running dummyssh for narrow
some plateform no longer have a `python` executable.
Differential Revision: https://phab.mercurial-scm.org/D9504
--- a/tests/narrow-library.sh Wed Dec 02 11:05:53 2020 -0800
+++ b/tests/narrow-library.sh Wed Dec 02 20:02:35 2020 +0100
@@ -2,7 +2,7 @@
[extensions]
narrow=
[ui]
-ssh=python "$RUNTESTDIR/dummyssh"
+ssh=$PYTHON "$RUNTESTDIR/dummyssh"
[experimental]
changegroup3 = True
EOF
--- a/tests/test-narrow-widen-no-ellipsis.t Wed Dec 02 11:05:53 2020 -0800
+++ b/tests/test-narrow-widen-no-ellipsis.t Wed Dec 02 20:02:35 2020 +0100
@@ -107,7 +107,7 @@
$ hg tracked --addinclude widest/f --debug
comparing with ssh://user@dummy/master
- running python "*dummyssh" *user@dummy* *hg -R master serve --stdio* (glob)
+ running * "*dummyssh" *user@dummy* *hg -R master serve --stdio* (glob)
sending hello command
sending between command
remote: * (glob)