test-obsolete: conditionalize a test dependent on chmod
authorMatt Harbison <matt_harbison@yahoo.com>
Wed, 20 Jan 2016 21:56:37 -0500
changeset 28172 f2004e4908f3
parent 28171 2d20d1d2ea76
child 28173 1ff28873830e
test-obsolete: conditionalize a test dependent on chmod
tests/test-obsolete.t
--- a/tests/test-obsolete.t	Wed Feb 17 15:18:30 2016 -0800
+++ b/tests/test-obsolete.t	Wed Jan 20 21:56:37 2016 -0500
@@ -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