Mercurial > public > mercurial-scm > hg
diff tests/test-bookmarks-rebase @ 11198:b345b1cc124f
rebase: use helpers.sh in tests
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 19 May 2010 20:20:12 -0500 |
parents | 8766fee6f225 |
children | 2313dc4d9817 |
line wrap: on
line diff
--- a/tests/test-bookmarks-rebase Wed May 19 19:46:39 2010 -0500 +++ b/tests/test-bookmarks-rebase Wed May 19 20:20:12 2010 -0500 @@ -1,15 +1,11 @@ #!/bin/sh +source $TESTDIR/helpers.sh + echo "[extensions]" >> $HGRCPATH echo "rebase=" >> $HGRCPATH echo "bookmarks=" >> $HGRCPATH -cleanoutput () { - sed -e 's/\(Rebase status stored to\).*/\1/' \ - -e 's/\(Rebase status restored from\).*/\1/' \ - -e 's/\(saving bundle to \).*/\1/' -} - echo % initialize repository hg init @@ -33,6 +29,6 @@ hg bookmark echo % rebase -hg rebase -s two -d one 2>&1 | cleanoutput +hg rebase -s two -d one 2>&1 | cleanrebase hg log