author | Jeff King <peff@peff.net> | |
Tue, 31 Mar 2009 20:36:00 +0000 (16:36 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 1 Apr 2009 18:09:25 +0000 (11:09 -0700) | ||
commit | 1b89eaa4bef44ef84f2af611d5db8727e3be266c | |
tree | 793400ce3e05ebae505b99c52c7c557eeecf3d33 | tree | snapshot |
parent | 17e61b82887fb71800b0fcd39ffe89ddf4d2492e | commit | diff |
t1301: loosen test for forced modes
One of the aspects of the test checked explicitly for the
g+s bit to be set on created directories. However, this is
only the means to an end (the "end" being having the correct
group set). And in fact, on systems where
DIR_HAS_BSD_GROUP_SEMANTICS is set, we do not even need to
use this "means" at all, causing the test to fail.
This patch removes that part of the test. In an ideal world
it would be replaced by a test to check that the group was
properly assigned, but that is difficult to automate because
it requires the user running the test suite be a member of
multiple groups.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
One of the aspects of the test checked explicitly for the
g+s bit to be set on created directories. However, this is
only the means to an end (the "end" being having the correct
group set). And in fact, on systems where
DIR_HAS_BSD_GROUP_SEMANTICS is set, we do not even need to
use this "means" at all, causing the test to fail.
This patch removes that part of the test. In an ideal world
it would be replaced by a test to check that the group was
properly assigned, but that is difficult to automate because
it requires the user running the test suite be a member of
multiple groups.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1301-shared-repo.sh | diff | blob | history |