diff tests/test-lfs-largefiles.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 538e850ae737
children fad6068249d9
line wrap: on
line diff
--- a/tests/test-lfs-largefiles.t	Tue Sep 18 22:40:03 2018 -0400
+++ b/tests/test-lfs-largefiles.t	Tue Sep 18 23:47:21 2018 -0400
@@ -201,7 +201,7 @@
 commit.  By the time the commit occurs, the tracked file is smaller than the
 threshold (assuming it is > 41, so the standins don't become lfs objects).
 
-  $ $PYTHON -c 'import sys ; sys.stdout.write("y\n" * 1048576)' > large_by_size.bin
+  $ "$PYTHON" -c 'import sys ; sys.stdout.write("y\n" * 1048576)' > large_by_size.bin
   $ hg --config largefiles.minsize=1 ci -Am 'large by size'
   adding large_by_size.bin as a largefile
   $ hg manifest