diff tests/test-commit-interactive.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 d4a2e0d5d042
children 89ba51c3e4f1
line wrap: on
line diff
--- a/tests/test-commit-interactive.t	Tue Sep 18 22:40:03 2018 -0400
+++ b/tests/test-commit-interactive.t	Tue Sep 18 23:47:21 2018 -0400
@@ -915,7 +915,7 @@
   >         b''.join(escape(c) for c in pycompat.iterbytestr(l)))
   > EOF
 
-  $ hg commit -i --encoding cp932 2>&1 <<EOF | $PYTHON $TESTTMP/escape.py | grep '^y - '
+  $ hg commit -i --encoding cp932 2>&1 <<EOF | "$PYTHON" $TESTTMP/escape.py | grep '^y - '
   > ?
   > q
   > EOF