Mercurial > hg
diff tests/test-mq.t @ 16912:6ef3107c661e
tests: cleanup of tests that got lost in their own nested directories
Some tests ended up in a directory several directories deeper than $TESTTMP,
usually because some 'cd ..' had been forgotten between different test cases.
Add 'cd ..' where they are missing so the tests get back where they started.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 11 Jun 2012 01:38:32 +0200 |
parents | 8149ff405c78 |
children | 9efe4a95c099 |
line wrap: on
line diff
--- a/tests/test-mq.t Mon Jun 11 01:08:39 2012 +0200 +++ b/tests/test-mq.t Mon Jun 11 01:38:32 2012 +0200 @@ -795,6 +795,7 @@ $ hg strip -f tip 0 files updated, 0 files merged, 1 files removed, 0 files unresolved saved backup bundle to $TESTTMP/b/.hg/strip-backup/*-backup.hg (glob) + $ cd .. cd b; hg qrefresh @@ -905,11 +906,15 @@ no patches applied [1] + $ cd .. + + +git patches + $ cat >>$HGRCPATH <<EOF > [diff] > git = True > EOF - $ cd .. $ hg init git $ cd git $ hg qinit @@ -1193,7 +1198,7 @@ $ hg strip 1 1 files updated, 0 files merged, 0 files removed, 0 files unresolved - saved backup bundle to $TESTTMP/b/strip/.hg/strip-backup/*-backup.hg (glob) + saved backup bundle to $TESTTMP/strip/.hg/strip-backup/*-backup.hg (glob) $ checkundo strip $ hg log changeset: 1:20cbbe65cff7 @@ -1539,3 +1544,5 @@ 0: draft 1: secret 2: secret + + $ cd ..