test-journal-exists: use #if
authorAdrian Buehlmann <adrian@cadifra.com>
Fri, 15 Jun 2012 00:39:21 +0200
changeset 16959 acba1281e064
parent 16958 622aa57a90b1
child 16960 be64115b4955
test-journal-exists: use #if
tests/test-journal-exists.t
--- 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