Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
39706:030d558c6456 | 39707:5abc47d4ca6b |
---|---|
49 $ f foo --mode | 49 $ f foo --mode |
50 foo: mode=644 | 50 foo: mode=644 |
51 #endif | 51 #endif |
52 | 52 |
53 #if no-windows | 53 #if no-windows |
54 $ $PYTHON $TESTDIR/seq.py 10 > bar | 54 $ "$PYTHON" $TESTDIR/seq.py 10 > bar |
55 #else | 55 #else |
56 Convert CRLF -> LF for consistency | 56 Convert CRLF -> LF for consistency |
57 $ $PYTHON $TESTDIR/seq.py 10 | sed "s/$//" > bar | 57 $ "$PYTHON" $TESTDIR/seq.py 10 | sed "s/$//" > bar |
58 #endif | 58 #endif |
59 | 59 |
60 #if unix-permissions symlink | 60 #if unix-permissions symlink |
61 $ chmod +x bar | 61 $ chmod +x bar |
62 $ f bar --newer foo --mode --type --size --dump --links --bytes 7 | 62 $ f bar --newer foo --mode --type --size --dump --links --bytes 7 |