--- a/tests/test-share.t Sat Jul 15 23:05:15 2017 +0200
+++ b/tests/test-share.t Sat Jul 15 23:49:22 2017 +0200
@@ -24,6 +24,20 @@
$ test -d .hg/store
[1]
+share shouldn't have a cache dir, original repo should
+
+ $ hg branches
+ default 0:d3873e73d99e
+ $ hg tags
+ tip 0:d3873e73d99e
+ $ test -d .hg/cache
+ [1]
+ $ ls -1 ../repo1/.hg/cache
+ branch2-served
+ rbc-names-v1
+ rbc-revs-v1
+ tags2-visible
+
Some sed versions appends newline, some don't, and some just fails
$ cat .hg/sharedpath; echo