Mercurial > hg
diff tests/test-addremove-similar.t @ 32940:75be14993fda
cleanup: use $PYTHON to run python in many more tests
Spotted one of these, then wrote a check-code rule that caught them
all. It will be the next change.
author | Augie Fackler <augie@google.com> |
---|---|
date | Tue, 20 Jun 2017 09:45:02 -0400 |
parents | 2efd9771323e |
children | 4441705b7111 |
line wrap: on
line diff
--- a/tests/test-addremove-similar.t Thu Jun 15 14:22:39 2017 -0400 +++ b/tests/test-addremove-similar.t Tue Jun 20 09:45:02 2017 -0400 @@ -57,7 +57,7 @@ should be sorted by path for stable result - $ for i in `python $TESTDIR/seq.py 0 9`; do + $ for i in `$PYTHON $TESTDIR/seq.py 0 9`; do > cp small-file $i > done $ rm small-file @@ -88,7 +88,7 @@ pick one from many identical files $ cp 0 a - $ rm `python $TESTDIR/seq.py 0 9` + $ rm `$PYTHON $TESTDIR/seq.py 0 9` $ hg addremove removing 0 removing 1 @@ -107,11 +107,11 @@ pick one from many similar files $ cp 0 a - $ for i in `python $TESTDIR/seq.py 0 9`; do + $ for i in `$PYTHON $TESTDIR/seq.py 0 9`; do > echo $i >> $i > done $ hg commit -m 'make them slightly different' - $ rm `python $TESTDIR/seq.py 0 9` + $ rm `$PYTHON $TESTDIR/seq.py 0 9` $ hg addremove -s50 removing 0 removing 1