Mercurial > public > mercurial-scm > hg-stable
diff tests/test-clone-cgi.t @ 39723:5abc47d4ca6b
tests: quote PYTHON usage
Python3 defaults to installing under "Program Files".
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 18 Sep 2018 23:47:21 -0400 |
parents | 2a42ca2679e2 |
children | d5cd1fd690f3 |
line wrap: on
line diff
--- a/tests/test-clone-cgi.t Tue Sep 18 22:40:03 2018 -0400 +++ b/tests/test-clone-cgi.t Tue Sep 18 23:47:21 2018 -0400 @@ -26,13 +26,13 @@ $ . "$TESTDIR/cgienv" $ QUERY_STRING="cmd=changegroup&roots=0000000000000000000000000000000000000000"; export QUERY_STRING - $ $PYTHON hgweb.cgi >page1 2>&1 - $ $PYTHON "$TESTDIR/md5sum.py" page1 + $ "$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)