# HG changeset patch # User Anton Shestakov # Date 1603554915 -28800 # Node ID 6576f6bb644bbd8a998a83b7c2642fd9635b66d6 # Parent 11b8f7003713e68d40c1699e008bfc72f06e6fa5 tests: use appropriate Python (2 or 3) for random-revs.py diff -r 11b8f7003713 -r 6576f6bb644b tests/test-stablesort-branchpoint-criss-cross.t --- 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; diff -r 11b8f7003713 -r 6576f6bb644b tests/test-stablesort-branchpoint.t --- a/tests/test-stablesort-branchpoint.t Sat Oct 24 23:47:01 2020 +0800 +++ b/tests/test-stablesort-branchpoint.t Sat Oct 24 23:55:15 2020 +0800 @@ -657,7 +657,7 @@ updating to branch default 0 files updated, 0 files merged, 0 files removed, 0 files unresolved $ cd recursion_random - $ for x in `python "$TESTDIR/testlib/random-revs.py" 15 5`; do + $ for x in `"$PYTHON" "$TESTDIR/testlib/random-revs.py" 15 5`; do > # using python to benefit from the random seed > hg pull -r $x --quiet > done; diff -r 11b8f7003713 -r 6576f6bb644b tests/test-stablesort-criss-cross.t --- a/tests/test-stablesort-criss-cross.t Sat Oct 24 23:47:01 2020 +0800 +++ b/tests/test-stablesort-criss-cross.t Sat Oct 24 23:55:15 2020 +0800 @@ -810,7 +810,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; diff -r 11b8f7003713 -r 6576f6bb644b tests/test-stablesort.t --- a/tests/test-stablesort.t Sat Oct 24 23:47:01 2020 +0800 +++ b/tests/test-stablesort.t Sat Oct 24 23:55:15 2020 +0800 @@ -812,7 +812,7 @@ updating to branch default 0 files updated, 0 files merged, 0 files removed, 0 files unresolved $ cd recursion_random - $ for x in `python "$TESTDIR/testlib/random-revs.py" 15 5`; do + $ for x in `"$PYTHON" "$TESTDIR/testlib/random-revs.py" 15 5`; do > # using python to benefit from the random seed > hg pull -r $x --quiet > done;