diff tests/test-parseindex.t @ 33262:8e6f4939a69a

tests: replace yet more calls to `python` with $PYTHON These are some simple cases. More to come in a future change. Reviewers: krbullock Reviewed By: krbullock Differential Revision: https://phab.mercurial-scm.org/D4
author Augie Fackler <augie@google.com>
date Wed, 05 Jul 2017 11:10:11 -0500
parents 75be14993fda
children c839bbee1e13
line wrap: on
line diff
--- a/tests/test-parseindex.t	Wed Jul 05 11:09:55 2017 -0500
+++ b/tests/test-parseindex.t	Wed Jul 05 11:10:11 2017 -0500
@@ -66,7 +66,7 @@
 
   $ cd a
 
-  $ python <<EOF
+  $ $PYTHON <<EOF
   > from mercurial import changelog, vfs
   > cl = changelog.changelog(vfs.vfs('.hg/store'))
   > print 'good heads:'
@@ -128,7 +128,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 [('limit', '\0\0\0\x02'), ('segv', '\0\x01\0\0')]:
   >     # corrupt p1 at rev0 and p2 at rev1