Mercurial > public > mercurial-scm > hg
diff tests/test-notify-changegroup.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 | 8e1854807dc2 |
children | 24849d53697d |
line wrap: on
line diff
--- a/tests/test-notify-changegroup.t Wed Oct 15 15:13:43 2014 -0400 +++ b/tests/test-notify-changegroup.t Wed Oct 15 15:35:59 2014 -0400 @@ -39,7 +39,7 @@ push $ hg --traceback --cwd b push ../a 2>&1 | - > python -c 'import sys,re; print re.sub("\n\t", " ", sys.stdin.read()),' + > $PYTHON -c 'import sys,re; print re.sub("\n\t", " ", sys.stdin.read()),' pushing to ../a searching for changes adding changesets @@ -92,7 +92,7 @@ unbundle with correct source $ hg --config notify.sources=unbundle --cwd a unbundle ../test.hg 2>&1 | - > python -c 'import sys,re; print re.sub("\n\t", " ", sys.stdin.read()),' + > $PYTHON -c 'import sys,re; print re.sub("\n\t", " ", sys.stdin.read()),' adding changesets adding manifests adding file changes @@ -167,7 +167,7 @@ push $ hg --traceback --cwd b --config notify.fromauthor=True push ../a 2>&1 | - > python -c 'import sys,re; print re.sub("\n\t", " ", sys.stdin.read()),' + > $PYTHON -c 'import sys,re; print re.sub("\n\t", " ", sys.stdin.read()),' pushing to ../a searching for changes adding changesets