Mercurial > public > mercurial-scm > hg
diff tests/test-check-commit.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 | 8872d46643b6 |
line wrap: on
line diff
--- a/tests/test-check-commit.t Fri Jun 30 21:49:29 2017 +0900 +++ b/tests/test-check-commit.t Sun Jul 02 13:14:20 2017 +0900 @@ -8,8 +8,9 @@ $ cd $TESTDIR/.. - $ for node in `syshg log --rev 'not public() and ::. and not desc("# no-check-commit")' --template '{node|short}\n'`; do - > syshg export --git $node | contrib/check-commit > ${TESTTMP}/check-commit.out + $ for node in `testrepohg log --rev 'not public() and ::. and not desc("# no-check-commit")' --template '{node|short}\n'`; do + > testrepohg export --git $node \ + > | contrib/check-commit > ${TESTTMP}/check-commit.out > if [ $? -ne 0 ]; then > echo "Revision $node does not comply with rules" > echo '------------------------------------------------------'