diff tests/library-infinitepush.sh @ 46226:0826d684a1b5

test: replace a many occurence of `python` with `$PYTHON` Otherwise this can use the wrong python version, or worse, not find any python at all. Differential Revision: https://phab.mercurial-scm.org/D9730
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 12 Jan 2021 22:43:55 +0100
parents 03ff17a4bf53
children 1d075b857c90
line wrap: on
line diff
--- a/tests/library-infinitepush.sh	Tue Jan 12 17:32:08 2021 -0800
+++ b/tests/library-infinitepush.sh	Tue Jan 12 22:43:55 2021 +0100
@@ -15,7 +15,7 @@
 [extensions]
 infinitepush=
 [ui]
-ssh = python "$TESTDIR/dummyssh"
+ssh = $PYTHON "$TESTDIR/dummyssh"
 [infinitepush]
 branchpattern=re:scratch/.*
 EOF