mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 16:31:02 +03:00
test-share: handle sed/GNU-sed discrepancies
This commit is contained in:
parent
f32df1c921
commit
e689ed2ea2
@ -18,7 +18,8 @@ cd repo2
|
||||
[ -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
|
||||
|
Loading…
Reference in New Issue
Block a user