Mercurial > hg-stable
diff tests/test-push-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 | 23b749b84b8a |
children | d5cd1fd690f3 |
line wrap: on
line diff
--- a/tests/test-push-cgi.t Tue Sep 18 22:40:03 2018 -0400 +++ b/tests/test-push-cgi.t Tue Sep 18 23:47:21 2018 -0400 @@ -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)