# HG changeset patch # User Alexis S. L. Carvalho # Date 1202589534 7200 # Node ID c608f67a87c0a419ef40ca4485f9e8ee684b401f # Parent b74a0c4bfb3003388aaae66c722e281042c01433 add test-inherit-mode diff -r b74a0c4bfb30 -r c608f67a87c0 tests/test-inherit-mode --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test-inherit-mode Sat Feb 09 18:38:54 2008 -0200 @@ -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 <