[PATCH] test-journal-exists: use #if
Adrian Buehlmann
adrian at cadifra.com
Thu Jun 14 17:42:50 CDT 2012
# HG changeset patch
# User Adrian Buehlmann <adrian at cadifra.com>
# Date 1339713561 -7200
# Node ID acba1281e06469ce1404e304ac62145f09ca8a51
# Parent 622aa57a90b1d1f09b3204458b087de12ce2de82
test-journal-exists: use #if
diff --git a/tests/test-journal-exists.t b/tests/test-journal-exists.t
--- a/tests/test-journal-exists.t
+++ b/tests/test-journal-exists.t
@@ -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
More information about the Mercurial-devel
mailing list