t/t1304: make a second colon optional in the mask ACL check
commit80700fde91e4a57897d811aa40daf9251b39c77c
authorBrandon Casey <drafnel@gmail.com>
Mon, 15 Mar 2010 17:14:37 +0000 (15 12:14 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 Mar 2010 02:06:01 +0000 (16 19:06 -0700)
tree15fe874e35c8621a3bf93e06ebc43fb35c9302d0
parent2e85575a0216b5ad4b1209cea77e1a2769fbd0b7
t/t1304: make a second colon optional in the mask ACL check

Solaris only uses one colon in the listing of the ACL mask, Linux uses two,
so substitute egrep for grep and make the second colon optional.

The -q option for Solaris 7's /usr/xpg4/bin/egrep does not appear to be
implemented, so redirect output to /dev/null.

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