changeset 46012:d72378f93a44

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
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 02 Dec 2020 20:02:35 +0100
parents b9588ff9b66a
children 7a79548954b3
files tests/narrow-library.sh tests/test-narrow-widen-no-ellipsis.t
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)