Mercurial > hg-stable
changeset 9121:a85a3d398cc3
test-fetch: fix non-portable sed regex.
(s/...\+/.../ appears to be a GNU-ism: this test broke on OS X and
NetBSD. Changing \+ to * fixes it, although that is a slightly less
strict regex.)
author | Greg Ward <greg-hg@gerg.ca> |
---|---|
date | Sun, 12 Jul 2009 22:33:00 -0400 |
parents | d3b995dd4eab |
children | a9eae2f3241c df881932362f |
files | tests/test-fetch |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-fetch Mon Jul 13 20:19:17 2009 +0200 +++ b/tests/test-fetch Sun Jul 12 22:33:00 2009 -0400 @@ -194,7 +194,7 @@ hg --cwd i1726r1 ci -m second echo c > i1726r2/a hg --cwd i1726r2 ci -m third -HGMERGE=true hg --cwd i1726r2 fetch ../i1726r1 | sed 's/new changeset 3:[0-9a-zA-Z]\+/new changeset 3/' +HGMERGE=true hg --cwd i1726r2 fetch ../i1726r1 | sed 's/new changeset 3:[0-9a-zA-Z]* /new changeset 3 /' hg --cwd i1726r2 heads default --template '{rev}\n' "$TESTDIR/killdaemons.py"