diff tests/test-stablesort-branchpoint-criss-cross.t @ 5612:6576f6bb644b

tests: use appropriate Python (2 or 3) for random-revs.py
author Anton Shestakov <av6@dwimlabs.net>
date Sat, 24 Oct 2020 23:55:15 +0800
parents 11b8f7003713
children 39739c2257e3
line wrap: on
line diff
--- a/tests/test-stablesort-branchpoint-criss-cross.t	Sat Oct 24 23:47:01 2020 +0800
+++ b/tests/test-stablesort-branchpoint-criss-cross.t	Sat Oct 24 23:55:15 2020 +0800
@@ -698,7 +698,7 @@
   updating to branch default
   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   $ cd crisscross_random
-  $ for x in `python "$TESTDIR/testlib/random-revs.py" 50 44`; do
+  $ for x in `"$PYTHON" "$TESTDIR/testlib/random-revs.py" 50 44`; do
   >   # using python to benefit from the random seed
   >   hg pull -r $x --quiet
   > done;