[Request] [+ ] D9504: tests: use the right python when running dummyssh for narrow
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Wed Dec 2 22:19:33 UTC 2020
marmoute created this revision.
Herald added a reviewer: durin42.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
some plateform no longer have a `python` executable.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D9504
AFFECTED FILES
tests/narrow-library.sh
tests/test-narrow-widen-no-ellipsis.t
CHANGE DETAILS
diff --git a/tests/test-narrow-widen-no-ellipsis.t b/tests/test-narrow-widen-no-ellipsis.t
--- a/tests/test-narrow-widen-no-ellipsis.t
+++ b/tests/test-narrow-widen-no-ellipsis.t
@@ -107,7 +107,7 @@
$ hg tracked --addinclude widest/f --debug
comparing with ssh://user@dummy/master
- running python "*dummyssh" *user at dummy* *hg -R master serve --stdio* (glob)
+ running * "*dummyssh" *user at dummy* *hg -R master serve --stdio* (glob)
sending hello command
sending between command
remote: * (glob)
diff --git a/tests/narrow-library.sh b/tests/narrow-library.sh
--- a/tests/narrow-library.sh
+++ b/tests/narrow-library.sh
@@ -2,7 +2,7 @@
[extensions]
narrow=
[ui]
-ssh=python "$RUNTESTDIR/dummyssh"
+ssh=$PYTHON "$RUNTESTDIR/dummyssh"
[experimental]
changegroup3 = True
EOF
To: marmoute, durin42, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercurial-scm.org/pipermail/mercurial-patches/attachments/20201202/e873f1c1/attachment.html>
More information about the Mercurial-patches
mailing list