Mercurial > hg
diff tests/test-relink.t @ 22947:c63a09b6b337
tests: use $PYTHON instead of hardcoding python
This makes running the testsuite with pypy possible.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Wed, 15 Oct 2014 15:35:59 -0400 |
parents | 7a9cbb315d84 |
children | 6cc1f388ac80 |
line wrap: on
line diff
--- a/tests/test-relink.t Wed Oct 15 15:13:43 2014 -0400 +++ b/tests/test-relink.t Wed Oct 15 15:35:59 2014 -0400 @@ -47,7 +47,7 @@ Test files are read in binary mode - $ python -c "file('.hg/store/data/dummy.i', 'wb').write('a\r\nb\n')" + $ $PYTHON -c "file('.hg/store/data/dummy.i', 'wb').write('a\r\nb\n')" $ cd .. @@ -65,7 +65,7 @@ $ echo b >> b $ hg ci -m changeb created new head - $ python -c "file('.hg/store/data/dummy.i', 'wb').write('a\nb\r\n')" + $ $PYTHON -c "file('.hg/store/data/dummy.i', 'wb').write('a\nb\r\n')" relink