Mercurial > hg
changeset 10062:c204431b039e
test-share: handle sed/GNU-sed discrepancies
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sun, 13 Dec 2009 18:54:54 +0100 |
parents | 9e2ab10728a2 |
children | a46478b80ea3 |
files | tests/test-share |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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