tests: use the right python when running dummyssh for narrow
authorPierre-Yves David <pierre-yves.david@octobus.net>
Wed, 02 Dec 2020 20:02:35 +0100
changeset 46027 d72378f93a44
parent 46026 b9588ff9b66a
child 46028 7a79548954b3
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
tests/narrow-library.sh
tests/test-narrow-widen-no-ellipsis.t
--- 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)