##// END OF EJS Templates
test-share: handle sed/GNU-sed discrepancies
Patrick Mezard -
r10062:c204431b default
parent child Browse files
Show More
@@ -18,7 +18,8 b' cd repo2'
18 [ -d .hg/store ] \
18 [ -d .hg/store ] \
19 && echo "fail: .hg/store should not exist" \
19 && echo "fail: .hg/store should not exist" \
20 || echo "pass: .hg/store does not exist"
20 || echo "pass: .hg/store does not exist"
21 cat .hg/sharedpath | sed "s:$HGTMP:*HGTMP*:"; echo
21 # sed appends a newline to the stream if none, GNU sed does not
22 sed "s:$HGTMP:*HGTMP*:" .hg/sharedpath | tr -d '\n'; echo
22
23
23 echo % commit in shared clone
24 echo % commit in shared clone
24 echo a >> a
25 echo a >> a
General Comments 0
You need to be logged in to leave comments. Login now