diff tests/test-convert-hg-source.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 f1186c292d03
children f46c1a9b1bfe
line wrap: on
line diff
--- a/tests/test-convert-hg-source.t	Tue Sep 18 22:40:03 2018 -0400
+++ b/tests/test-convert-hg-source.t	Tue Sep 18 23:47:21 2018 -0400
@@ -130,7 +130,7 @@
   >          for i, l in enumerate(open(sys.argv[1], 'rb'))]
   > open(sys.argv[1], 'wb').write(b''.join(lines))
   > EOF
-  $ $PYTHON rewrite.py new/.hg/shamap
+  $ "$PYTHON" rewrite.py new/.hg/shamap
   $ cd orig
   $ hg up -qC 1
   $ echo foo >> foo