changeset 28172:f2004e4908f3

test-obsolete: conditionalize a test dependent on chmod
author Matt Harbison <matt_harbison@yahoo.com>
date Wed, 20 Jan 2016 21:56:37 -0500
parents 2d20d1d2ea76
children 1ff28873830e
files tests/test-obsolete.t
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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