# HG changeset patch # User Yuya Nishihara # Date 2016-03-20 21:59:03 # Node ID 148a9a5379f050ed3ba6a677bf2ece0c547ccd13 # Parent 118a605e3ad9e1d30c4fd8bacc8310167ae1f222 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. diff --git a/tests/test-chg.t b/tests/test-chg.t --- a/tests/test-chg.t +++ b/tests/test-chg.t @@ -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 @@ alias having an environment variable and > 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