tests/test-share
changeset 10062 c204431b039e
parent 9990 c1d940d31aea
child 10078 97c75ad3b1a0
--- a/tests/test-share	Sun Dec 13 18:06:24 2009 +0100
+++ b/tests/test-share	Sun Dec 13 18:54:54 2009 +0100
@@ -18,7 +18,8 @@
 [ -d .hg/store ] \
   && echo "fail: .hg/store should not exist" \
   || echo "pass: .hg/store does not exist"
-cat .hg/sharedpath | sed "s:$HGTMP:*HGTMP*:"; echo
+# sed appends a newline to the stream if none, GNU sed does not
+sed "s:$HGTMP:*HGTMP*:" .hg/sharedpath | tr -d '\n'; echo
 
 echo % commit in shared clone
 echo a >> a