Mercurial > hg
diff tests/test-push-cgi.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 | c739b1e4b203 |
children | 23b749b84b8a |
line wrap: on
line diff
--- a/tests/test-push-cgi.t Wed Jul 05 11:09:55 2017 -0500 +++ b/tests/test-push-cgi.t Wed Jul 05 11:10:11 2017 -0500 @@ -38,7 +38,7 @@ expect failure because heads doesn't match (formerly known as 'unsynced changes') $ QUERY_STRING="cmd=unbundle&heads=0000000000000000000000000000000000000000"; export QUERY_STRING - $ python hgweb.cgi <bundle.hg >page1 2>&1 + $ $PYTHON hgweb.cgi <bundle.hg >page1 2>&1 $ cat page1 Status: 200 Script output follows\r (esc) Content-Type: application/mercurial-0.1\r (esc) @@ -50,7 +50,7 @@ successful force push $ QUERY_STRING="cmd=unbundle&heads=666f726365"; export QUERY_STRING - $ python hgweb.cgi <bundle.hg >page2 2>&1 + $ $PYTHON hgweb.cgi <bundle.hg >page2 2>&1 $ cat page2 Status: 200 Script output follows\r (esc) Content-Type: application/mercurial-0.1\r (esc) @@ -65,7 +65,7 @@ successful push, list of heads $ QUERY_STRING="cmd=unbundle&heads=f7b1eb17ad24730a1651fccd46c43826d1bbc2ac"; export QUERY_STRING - $ python hgweb.cgi <bundle.hg >page3 2>&1 + $ $PYTHON hgweb.cgi <bundle.hg >page3 2>&1 $ cat page3 Status: 200 Script output follows\r (esc) Content-Type: application/mercurial-0.1\r (esc) @@ -80,7 +80,7 @@ successful push, SHA1 hash of heads (unbundlehash capability) $ QUERY_STRING="cmd=unbundle&heads=686173686564 5a785a5f9e0d433b88ed862b206b011b0c3a9d13"; export QUERY_STRING - $ python hgweb.cgi <bundle.hg >page4 2>&1 + $ $PYTHON hgweb.cgi <bundle.hg >page4 2>&1 $ cat page4 Status: 200 Script output follows\r (esc) Content-Type: application/mercurial-0.1\r (esc)