--- a/tests/test-chg.t Fri Dec 23 16:16:44 2016 +0000
+++ b/tests/test-chg.t Fri Dec 23 16:26:40 2016 +0000
@@ -16,6 +16,20 @@
[255]
$ cp $HGRCPATH.orig $HGRCPATH
+
+long socket path
+
+ $ sockpath=$TESTTMP/this/path/should/be/longer/than/one-hundred-and-seven/characters/where/107/is/the/typical/size/limit/of/unix-domain-socket
+ $ mkdir -p $sockpath
+ $ bakchgsockname=$CHGSOCKNAME
+ $ CHGSOCKNAME=$sockpath/server
+ $ export CHGSOCKNAME
+ $ chg root
+ $TESTTMP/foo
+ $ rm -rf $sockpath
+ $ CHGSOCKNAME=$bakchgsockname
+ $ export CHGSOCKNAME
+
$ cd ..
server lifecycle