comparison tests/test-check-help.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 d2c81e83de2a
children c36846abbcd3
comparison
equal deleted inserted replaced
39706:030d558c6456 39707:5abc47d4ca6b
23 Check if ":hg:`help TOPIC`" is valid: 23 Check if ":hg:`help TOPIC`" is valid:
24 (use "xargs -n1 -t" to see which help commands are executed) 24 (use "xargs -n1 -t" to see which help commands are executed)
25 25
26 $ testrepohg files 'glob:{hgdemandimport,hgext,mercurial}/**/*.py' \ 26 $ testrepohg files 'glob:{hgdemandimport,hgext,mercurial}/**/*.py' \
27 > | sed 's|\\|/|g' \ 27 > | sed 's|\\|/|g' \
28 > | xargs $PYTHON "$TESTTMP/scanhelptopics.py" \ 28 > | xargs "$PYTHON" "$TESTTMP/scanhelptopics.py" \
29 > | xargs -n1 hg help --config extensions.phabricator= > /dev/null 29 > | xargs -n1 hg help --config extensions.phabricator= > /dev/null