# HG changeset patch # User Alexis S. L. Carvalho # Date 2008-02-09 20:38:54 # Node ID c608f67a87c0a419ef40ca4485f9e8ee684b401f # Parent b74a0c4bfb3003388aaae66c722e281042c01433 add test-inherit-mode diff --git a/tests/test-inherit-mode b/tests/test-inherit-mode new file mode 100755 --- /dev/null +++ b/tests/test-inherit-mode @@ -0,0 +1,67 @@ +#!/bin/sh + +# test that new files created in .hg inherit the permissions from .hg/store + +"$TESTDIR/hghave" unix-permissions || exit 80 + +mkdir dir +# just in case somebody has a strange $TMPDIR +chmod g-s dir +cd dir + +cat >printmodes.py <