Mercurial > hg
diff tests/test-journal-exists.t @ 49621:55c6ebd11cb9 stable
tests: run many tests in $TESTTMP/repo instead of $TESTTMP
This is useful so we can store other files in $TESTTMP
(in particular tests that use docket files (nodemap, dirstate-v2) keep
file uids in $TESTTMP/UID)
author | Arseniy Alekseyev <aalekseyev@janestreet.com> |
---|---|
date | Fri, 18 Nov 2022 13:47:29 +0000 |
parents | 95c4cca641f6 |
children | 2f2682f40ea0 |
line wrap: on
line diff
--- a/tests/test-journal-exists.t Fri Nov 18 13:52:18 2022 +0000 +++ b/tests/test-journal-exists.t Fri Nov 18 13:47:29 2022 +0000 @@ -1,4 +1,5 @@ - $ hg init + $ hg init repo + $ cd repo $ echo a > a $ hg ci -Am0 adding a @@ -52,7 +53,7 @@ $ hg -R foo unbundle repo.hg adding changesets - abort: Permission denied: '$TESTTMP/foo/.hg/store/.00changelog.i-*' (glob) + abort: Permission denied: '$TESTTMP/repo/foo/.hg/store/.00changelog.i-*' (glob) [255] $ if test -f foo/.hg/store/journal; then echo 'journal exists :-('; fi