diff tests/test-purge.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 8e6f4939a69a
children ef6cab7930b3
line wrap: on
line diff
--- a/tests/test-purge.t	Tue Sep 18 22:40:03 2018 -0400
+++ b/tests/test-purge.t	Tue Sep 18 23:47:21 2018 -0400
@@ -49,7 +49,7 @@
 
   $ touch untracked_file
   $ touch untracked_file_readonly
-  $ $PYTHON <<EOF
+  $ "$PYTHON" <<EOF
   > import os, stat
   > f= 'untracked_file_readonly'
   > os.chmod(f, stat.S_IMODE(os.stat(f).st_mode) & ~stat.S_IWRITE)