diff tests/test-tools.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 c1f7037c2ded
children 9172bd49cedc
line wrap: on
line diff
--- a/tests/test-tools.t	Tue Sep 18 22:40:03 2018 -0400
+++ b/tests/test-tools.t	Tue Sep 18 23:47:21 2018 -0400
@@ -51,10 +51,10 @@
 #endif
 
 #if no-windows
-  $ $PYTHON $TESTDIR/seq.py 10 > bar
+  $ "$PYTHON" $TESTDIR/seq.py 10 > bar
 #else
 Convert CRLF -> LF for consistency
-  $ $PYTHON $TESTDIR/seq.py 10 | sed "s/$//" > bar
+  $ "$PYTHON" $TESTDIR/seq.py 10 | sed "s/$//" > bar
 #endif
 
 #if unix-permissions symlink