Code

t1301-shared-repo.sh: don't let a default ACL interfere with the test
authorMatt McCutchen <matt@mattmccutchen.net>
Fri, 17 Oct 2008 02:32:14 +0000 (22:32 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 17 Oct 2008 02:37:27 +0000 (19:37 -0700)
commit8ed0a740dd42bd0724aebed6e3b07c4ea2a2d5e8
tree00f30424db59d435032961f5df9aead28334146a
parent5782566d7f2847bd94e33fd26c8a961e887ec10a
t1301-shared-repo.sh: don't let a default ACL interfere with the test

This test creates files with several different umasks and expects their
permissions to be initialized according to the umask, so a default ACL on the
trash directory (which overrides the umask for files created in that directory)
causes the test to fail.  To avoid that, remove the default ACL if possible with
setfacl(1).

Signed-off-by: Matt McCutchen <matt@mattmccutchen.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1301-shared-repo.sh