t/t1304: use 'test -r' to test readability rather than looking at mode bits
commit71c4d6c6354036597534931d8fe9e80a9ae3c0af
authorBrandon Casey <drafnel@gmail.com>
Mon, 15 Mar 2010 17:14:35 +0000 (15 12:14 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 Mar 2010 02:05:58 +0000 (16 19:05 -0700)
treec627b0fdf6fe2647649a49531900c4f89d84a169
parentab04a9056788cf77f6b6c72605fc6027f21d9d7c
t/t1304: use 'test -r' to test readability rather than looking at mode bits

This test was using the group read permission bit as an indicator of the
default ACL mask.  This behavior is valid on Linux but not on other
platforms like Solaris.  So, rather than looking at mode bits, just test
readability for the user.  This, along with the checks for the existence
of the ACL's that were set on the parent directories, should be enough.

Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1304-default-acl.sh