##// END OF EJS Templates
test-share: Solaris sed can't handle never-ending lines
Mads Kiilerich -
r10082:66d8ec33 default
parent child Browse files
Show More
@@ -18,8 +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 # sed appends a newline to the stream if none, GNU sed does not
21 # Some sed versions appends newline, some don't, and some just fails
22 sed "s:$HGTMP:*HGTMP*:" .hg/sharedpath | tr -d '\n'; echo
22 (cat .hg/sharedpath; echo) | head -n1 | sed "s:$HGTMP:*HGTMP*:"
23
23
24 echo % commit in shared clone
24 echo % commit in shared clone
25 echo a >> a
25 echo a >> a
General Comments 0
You need to be logged in to leave comments. Login now