# HG changeset patch # User Nicolas Dumazet # Date 1281923883 -32400 # Node ID 863567a1364f33748cf89047691d3e6ecee7b143 # Parent 1219d019339d6a61a707c607c651561c82566a7c tests: use regular expressions instead of helpers diff -r 1219d019339d -r 863567a1364f tests/test-bookmarks-rebase.t --- a/tests/test-bookmarks-rebase.t Mon Aug 16 10:53:52 2010 +0900 +++ b/tests/test-bookmarks-rebase.t Mon Aug 16 10:58:03 2010 +0900 @@ -1,5 +1,3 @@ - $ . $TESTDIR/helpers.sh - $ echo "[extensions]" >> $HGRCPATH $ echo "rebase=" >> $HGRCPATH $ echo "bookmarks=" >> $HGRCPATH @@ -38,8 +36,8 @@ rebase - $ hg rebase -s two -d one 2>&1 | cleanrebase - saved backup bundle to + $ hg rebase -s two -d one + saved backup bundle to .* $ hg log changeset: 3:9163974d1cb5 diff -r 1219d019339d -r 863567a1364f tests/test-bookmarks-strip.t --- a/tests/test-bookmarks-strip.t Mon Aug 16 10:53:52 2010 +0900 +++ b/tests/test-bookmarks-strip.t Mon Aug 16 10:58:03 2010 +0900 @@ -1,4 +1,3 @@ - $ . $TESTDIR/helpers.sh $ echo "[extensions]" >> $HGRCPATH $ echo "bookmarks=" >> $HGRCPATH $ echo "mq=" >> $HGRCPATH @@ -50,8 +49,8 @@ strip to revision 1 - $ hg strip 1 | hidebackup - saved backup bundle to + $ hg strip 1 + saved backup bundle to .* list bookmarks diff -r 1219d019339d -r 863567a1364f tests/test-mq.t --- a/tests/test-mq.t Mon Aug 16 10:53:52 2010 +0900 +++ b/tests/test-mq.t Mon Aug 16 10:58:03 2010 +0900 @@ -1,5 +1,3 @@ - $ . $TESTDIR/helpers.sh - $ checkundo() > { > if [ -f .hg/store/undo ]; then @@ -733,9 +731,9 @@ $ echo x>x $ hg ci -Ama adding x - $ hg strip tip | hidebackup + $ hg strip tip 0 files updated, 0 files merged, 1 files removed, 0 files unresolved - saved backup bundle to + saved backup bundle to .* $ hg unbundle .hg/strip-backup/* adding changesets adding manifests @@ -750,14 +748,14 @@ 1 files updated, 0 files merged, 0 files removed, 0 files unresolved $ echo y>y $ hg add y - $ hg strip tip | hidebackup + $ hg strip tip abort: local changes found --force strip with local changes - $ hg strip -f tip | hidebackup + $ hg strip -f tip 0 files updated, 0 files merged, 1 files removed, 0 files unresolved - saved backup bundle to + saved backup bundle to .* cd b; hg qrefresh @@ -1110,9 +1108,9 @@ date: Thu Jan 01 00:00:00 1970 +0000 summary: add foo - $ hg strip 1 | hidebackup + $ hg strip 1 1 files updated, 0 files merged, 0 files removed, 0 files unresolved - saved backup bundle to + saved backup bundle to .* $ checkundo strip $ hg log changeset: 1:20cbbe65cff7