--- a/tests/test-parseindex.t Tue Sep 18 22:40:03 2018 -0400
+++ b/tests/test-parseindex.t Tue Sep 18 23:47:21 2018 -0400
@@ -61,7 +61,7 @@
> for r in cl:
> print(short(cl.node(r)))
> EOF
- $ $PYTHON test.py
+ $ "$PYTHON" test.py
2 revisions:
7c31755bf9b5
26333235a41c
@@ -74,7 +74,7 @@
$ cd a
- $ $PYTHON <<EOF
+ $ "$PYTHON" <<EOF
> from __future__ import print_function
> from mercurial import changelog, vfs
> cl = changelog.changelog(vfs.vfs('.hg/store'))
@@ -137,7 +137,7 @@
$ hg clone --pull -q --config phases.publish=False ../a segv
$ rm -R limit/.hg/cache segv/.hg/cache
- $ $PYTHON <<EOF
+ $ "$PYTHON" <<EOF
> data = open("limit/.hg/store/00changelog.i", "rb").read()
> for n, p in [(b'limit', b'\0\0\0\x02'), (b'segv', b'\0\x01\0\0')]:
> # corrupt p1 at rev0 and p2 at rev1
@@ -188,13 +188,13 @@
> print(inst)
> EOF
- $ $PYTHON test.py limit/.hg/store
+ $ "$PYTHON" test.py limit/.hg/store
reachableroots: parent out of range
compute_phases_map_sets: parent out of range
index_headrevs: parent out of range
find_gca_candidates: parent out of range
find_deepest: parent out of range
- $ $PYTHON test.py segv/.hg/store
+ $ "$PYTHON" test.py segv/.hg/store
reachableroots: parent out of range
compute_phases_map_sets: parent out of range
index_headrevs: parent out of range