Mercurial > hg
diff tests/test-pager-legacy.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 | e53879421ecd |
children | ef6cab7930b3 |
line wrap: on
line diff
--- a/tests/test-pager-legacy.t Tue Sep 18 22:40:03 2018 -0400 +++ b/tests/test-pager-legacy.t Tue Sep 18 23:47:21 2018 -0400 @@ -14,7 +14,7 @@ > [extensions] > pager= > [pager] - > pager = $PYTHON $TESTTMP/fakepager.py + > pager = "$PYTHON" $TESTTMP/fakepager.py > EOF $ hg init repo @@ -22,7 +22,7 @@ $ echo a >> a $ hg add a $ hg ci -m 'add a' - $ for x in `$PYTHON $TESTDIR/seq.py 1 10`; do + $ for x in `"$PYTHON" $TESTDIR/seq.py 1 10`; do > echo a $x >> a > hg ci -m "modify a $x" > done