Mercurial > public > mercurial-scm > hg-stable
diff tests/test-check-help.t @ 32958: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 | 778dc37ce683 |
children | 6c113a7dec52 |
line wrap: on
line diff
--- a/tests/test-check-help.t Thu Jun 15 14:22:39 2017 -0400 +++ b/tests/test-check-help.t Tue Jun 20 09:45:02 2017 -0400 @@ -24,5 +24,5 @@ (use "xargs -n1 -t" to see which help commands are executed) $ hg files 'glob:{hgdemandimport,hgext,mercurial}/**/*.py' | sed 's|\\|/|g' \ - > | xargs python "$TESTTMP/scanhelptopics.py" \ + > | xargs $PYTHON "$TESTTMP/scanhelptopics.py" \ > | xargs -n1 hg help > /dev/null