Mercurial > hg-stable
diff tests/test-mq.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 | c303d65d2e34 |
line wrap: on
line diff
--- a/tests/test-mq.t Tue Sep 18 22:40:03 2018 -0400 +++ b/tests/test-mq.t Tue Sep 18 23:47:21 2018 -0400 @@ -1128,9 +1128,9 @@ > path = sys.argv[1] > open(path, 'wb').write(b'BIN\x00ARY') > EOF - $ $PYTHON writebin.py bucephalus + $ "$PYTHON" writebin.py bucephalus - $ $PYTHON "$TESTDIR/md5sum.py" bucephalus + $ "$PYTHON" "$TESTDIR/md5sum.py" bucephalus 8ba2a2f3e77b55d03051ff9c24ad65e7 bucephalus $ hg add bucephalus $ hg qnew -f --git addbucephalus @@ -1149,7 +1149,7 @@ applying addbucephalus now at: addbucephalus $ test -f bucephalus - $ $PYTHON "$TESTDIR/md5sum.py" bucephalus + $ "$PYTHON" "$TESTDIR/md5sum.py" bucephalus 8ba2a2f3e77b55d03051ff9c24ad65e7 bucephalus @@ -1575,7 +1575,7 @@ $ PATH_INFO=/tags; export PATH_INFO #endif $ QUERY_STRING='style=raw' - $ $PYTHON hgweb.cgi | grep '^tip' + $ "$PYTHON" hgweb.cgi | grep '^tip' tip [0-9a-f]{40} (re) $ cd ..