diff tests/test-grep.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 34ba47117164
children 66df1059b7c0
line wrap: on
line diff
--- a/tests/test-grep.t	Tue Sep 18 22:40:03 2018 -0400
+++ b/tests/test-grep.t	Tue Sep 18 23:47:21 2018 -0400
@@ -300,7 +300,7 @@
 
 match in last "line" without newline
 
-  $ $PYTHON -c 'fp = open("noeol", "wb"); fp.write(b"no infinite loop"); fp.close();'
+  $ "$PYTHON" -c 'fp = open("noeol", "wb"); fp.write(b"no infinite loop"); fp.close();'
   $ hg ci -Amnoeol
   adding noeol
   $ hg grep -r tip:0 loop