diff --git a/tests/test-tags.t b/tests/test-tags.t
index 241a32942c7ad462b1d96e3319d48e56e8ebbb16_dGVzdHMvdGVzdC10YWdzLnQ=..1415edd88c5601d5f85ef94b09c36df2577a9561_dGVzdHMvdGVzdC10YWdzLnQ= 100644
--- a/tests/test-tags.t
+++ b/tests/test-tags.t
@@ -1,5 +1,3 @@
-  $ "$TESTDIR/hghave" unix-permissions || exit 80
-
 Helper functions:
 
   $ cacheexists() {
@@ -77,8 +75,9 @@
 
 And again, but now unable to write tag cache:
 
+#if unix-permissions
   $ rm -f .hg/cache/tags
   $ chmod 555 .hg
   $ hg identify
   b9154636be93 tip
   $ chmod 755 .hg
@@ -80,8 +79,9 @@
   $ rm -f .hg/cache/tags
   $ chmod 555 .hg
   $ hg identify
   b9154636be93 tip
   $ chmod 755 .hg
+#endif
 
 Create a branch: