Mercurial > public > mercurial-scm > hg
diff tests/test-clone-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 | 75be14993fda |
children | 2a42ca2679e2 |
line wrap: on
line diff
--- a/tests/test-clone-cgi.t Wed Jul 05 11:09:55 2017 -0500 +++ b/tests/test-clone-cgi.t Wed Jul 05 11:10:11 2017 -0500 @@ -26,13 +26,13 @@ $ . "$TESTDIR/cgienv" $ QUERY_STRING="cmd=changegroup&roots=0000000000000000000000000000000000000000"; export QUERY_STRING - $ python hgweb.cgi >page1 2>&1 + $ $PYTHON hgweb.cgi >page1 2>&1 $ $PYTHON "$TESTDIR/md5sum.py" page1 1f424bb22ec05c3c6bc866b6e67efe43 page1 make sure headers are sent even when there is no body - $ QUERY_STRING="cmd=listkeys&namespace=nosuchnamespace" python hgweb.cgi + $ QUERY_STRING="cmd=listkeys&namespace=nosuchnamespace" $PYTHON hgweb.cgi Status: 200 Script output follows\r (esc) Content-Type: application/mercurial-0.1\r (esc) Content-Length: 0\r (esc)