Mercurial > hg-stable
changeset 16959:acba1281e064
test-journal-exists: use #if
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Fri, 15 Jun 2012 00:39:21 +0200 |
parents | 622aa57a90b1 |
children | be64115b4955 |
files | tests/test-journal-exists.t |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-journal-exists.t Thu Jun 14 15:13:16 2012 -0500 +++ b/tests/test-journal-exists.t Fri Jun 15 00:39:21 2012 +0200 @@ -1,5 +1,3 @@ - $ "$TESTDIR/hghave" unix-permissions || exit 80 - $ hg init $ echo a > a $ hg ci -Am0 @@ -24,6 +22,7 @@ Check that zero-size journals are correctly aborted: +#if unix-permissions $ hg bundle -qa repo.hg $ chmod -w foo/.hg/store/00changelog.i @@ -33,4 +32,5 @@ [255] $ if test -f foo/.hg/store/journal; then echo 'journal exists :-('; fi +#endif