diff tests/test-topic-push.t @ 5198:cbfd36046969 stable

tests: use appropriate Python (2 or 3) for dummyssh
author Anton Shestakov <av6@dwimlabs.net>
date Fri, 13 Mar 2020 19:11:43 +0700
parents 1bc4b0807c37
children 6f7a2dcc8c7a 7f80558c9b8d
line wrap: on
line diff
--- a/tests/test-topic-push.t	Wed Mar 11 18:28:26 2020 +0100
+++ b/tests/test-topic-push.t	Fri Mar 13 19:11:43 2020 +0700
@@ -3,7 +3,7 @@
   $ cat << EOF >> $HGRCPATH
   > [ui]
   > logtemplate = {rev} {branch} {get(namespaces, "topics")} {phase} {desc|firstline}\n
-  > ssh =python "$RUNTESTDIR/dummyssh"
+  > ssh = "$PYTHON" "$RUNTESTDIR/dummyssh"
   > EOF
 
   $ hg init main