diff tests/test-command-template.t @ 20008:e54a078153f7

tests: skip tests that require not having root (issue4089) This adds a new root hghave to test against. Almost all of these are a subset of unix-permissions, but that is also used for checking exec bit handling.
author Matt Mackall <mpm@selenic.com>
date Thu, 14 Nov 2013 18:07:43 -0600
parents c38c3fdc8b93
children 6d4fda48b4e3
line wrap: on
line diff
--- a/tests/test-command-template.t	Thu Nov 14 17:17:44 2013 -0600
+++ b/tests/test-command-template.t	Thu Nov 14 18:07:43 2013 -0600
@@ -447,7 +447,7 @@
 
 Error if style not readable:
 
-#if unix-permissions
+#if unix-permissions no-root
   $ touch q
   $ chmod 0 q
   $ hg log --style ./q
@@ -479,7 +479,7 @@
 Error if include fails:
 
   $ echo 'changeset = q' >> t
-#if unix-permissions
+#if unix-permissions no-root
   $ hg log --style ./t
   abort: template file ./q: Permission denied
   [255]