diff tests/test-serve.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 339a3fa19695
children 7a9cbb315d84
line wrap: on
line diff
--- a/tests/test-serve.t	Thu Nov 14 17:17:44 2013 -0600
+++ b/tests/test-serve.t	Thu Nov 14 18:07:43 2013 -0600
@@ -45,12 +45,14 @@
 
 With -v and -p daytime (should fail because low port)
 
+#if no-root
   $ KILLQUIETLY=Y
   $ hgserve -p daytime
   abort: cannot start server at 'localhost:13': Permission denied
   abort: child process failed to start
   % errors
   $ KILLQUIETLY=N
+#endif
 
 With --prefix foo