Mercurial > public > mercurial-scm > hg
diff tests/test-newcgi.t @ 39707: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 | 8e6f4939a69a |
children | 9448b2e4c9fa |
line wrap: on
line diff
--- a/tests/test-newcgi.t Tue Sep 18 22:40:03 2018 -0400 +++ b/tests/test-newcgi.t Tue Sep 18 23:47:21 2018 -0400 @@ -52,15 +52,15 @@ $ chmod 755 hgwebdir.cgi $ . "$TESTDIR/cgienv" - $ $PYTHON hgweb.cgi > page1 - $ $PYTHON hgwebdir.cgi > page2 + $ "$PYTHON" hgweb.cgi > page1 + $ "$PYTHON" hgwebdir.cgi > page2 $ PATH_INFO="/test/" $ PATH_TRANSLATED="/var/something/test.cgi" $ REQUEST_URI="/test/test/" $ SCRIPT_URI="http://hg.omnifarious.org/test/test/" $ SCRIPT_URL="/test/test/" - $ $PYTHON hgwebdir.cgi > page3 + $ "$PYTHON" hgwebdir.cgi > page3 $ grep -i error page1 page2 page3 [1]