Mercurial > hg
comparison tests/test-check-help.t @ 33204:ddd65b4f3ae6
tests: alias syshg and syshgenv so they can be switched conditionally
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 02 Jul 2017 13:14:20 +0900 |
parents | 6c113a7dec52 |
children | a36d3c8a0e41 |
comparison
equal
deleted
inserted
replaced
33203:cf826b9e9ea4 | 33204:ddd65b4f3ae6 |
---|---|
21 $ cd "$TESTDIR"/.. | 21 $ cd "$TESTDIR"/.. |
22 | 22 |
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 $ syshg 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 > /dev/null | 29 > | xargs -n1 hg help > /dev/null |