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.
--- 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