[PATCH STABLE] tests: stabilize test-inherit-mode.t on FreeBSD and macOS (issue6026)

Augie Fackler raf at durin42.com
Thu Nov 29 21:30:45 UTC 2018


# HG changeset patch
# User Augie Fackler <augie at google.com>
# Date 1543526737 18000
#      Thu Nov 29 16:25:37 2018 -0500
# Branch stable
# Node ID 2a350cb39a459fea5767aa25804180be10849408
# Parent  25b7c4cb5de1593e16bbd7a7dafbd28baa743995
tests: stabilize test-inherit-mode.t on FreeBSD and macOS (issue6026)

Symbolic links are funny permissions-wise, but on the linked issue
Yuya has convinced me that we can ignore this permissions issue on
macOS (FreeBSD allows setting permissions bits but ignores them) and
we'll be in fine shape.

diff --git a/tests/test-inherit-mode.t b/tests/test-inherit-mode.t
--- a/tests/test-inherit-mode.t
+++ b/tests/test-inherit-mode.t
@@ -70,7 +70,7 @@ new directories are setgid
   00770 ./.hg/cache/
   00660 ./.hg/cache/branch2-served
   00711 ./.hg/cache/checkisexec
-  00777 ./.hg/cache/checklink
+  007.. ./.hg/cache/checklink (re)
   00600 ./.hg/cache/checklink-target
   00660 ./.hg/cache/manifestfulltextcache (reporevlogstore !)
   00660 ./.hg/cache/rbc-names-v1


More information about the Mercurial-devel mailing list