[PATCH 1 of 2] test-obsolete: conditionalize a test dependent on chmod

Matt Harbison mharbison72 at gmail.com
Fri Feb 19 04:20:28 UTC 2016


# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1453344997 18000
#      Wed Jan 20 21:56:37 2016 -0500
# Node ID d50b77bee718346ca920fd3ab452f8cc1e1be49c
# Parent  6c3ab048228f9b1760bf0b6baa307a4ec361c638
test-obsolete: conditionalize a test dependent on chmod

diff --git a/tests/test-obsolete.t b/tests/test-obsolete.t
--- a/tests/test-obsolete.t
+++ b/tests/test-obsolete.t
@@ -960,6 +960,7 @@
   $ hg log -r . -T '{node}' --debug
   8fd96dfc63e51ed5a8af1bec18eb4b19dbf83812 (no-eol)
 
+#if unix-permissions
 Check that wrong hidden cache permission does not crash
 
   $ chmod 000 .hg/cache/hidden
@@ -967,6 +968,7 @@
   cannot read hidden cache
   error writing hidden changesets cache
   8fd96dfc63e51ed5a8af1bec18eb4b19dbf83812 (no-eol)
+#endif
 
 Test cache consistency for the visible filter
 1) We want to make sure that the cached filtered revs are invalidated when


More information about the Mercurial-devel mailing list