Mercurial > hg-stable
changeset 29274:148a9a5379f0
test-chg: run only with chg
It doesn't make sense to run test-chg.t without chg, so ignore it with vanilla
hg, and specify chg executable explicitly.
test-chg.t can host chg-specific tests.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 20 Mar 2016 14:59:03 -0700 |
parents | 118a605e3ad9 |
children | e53f961ac75f |
files | tests/test-chg.t |
diffstat | 1 files changed, 7 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-chg.t Thu May 26 17:36:44 2016 -0700 +++ b/tests/test-chg.t Sun Mar 20 14:59:03 2016 -0700 @@ -1,13 +1,15 @@ +#require chg + init repo - $ hg init foo + $ chg init foo $ cd foo ill-formed config - $ hg status + $ chg status $ echo '=brokenconfig' >> $HGRCPATH - $ hg status + $ chg status hg: parse error at * (glob) [255] @@ -26,7 +28,7 @@ > printa = log -T "$A\n" -r 0 > EOF - $ A=1 hg printa + $ A=1 chg printa P1 - $ A=2 hg printa + $ A=2 chg printa P2