t/t1304-default-acl.sh fails on FreeBSD, seemingly because setfacl on FreeBSD doesn't have a meaningful return code:
$ setfacl -m u:root:rwx . ; echo $?
setfacl: .: acl_get_file() failed: Operation not supported
0But on Linux:
$ setfacl -m u:root:rwx . ; echo $?
setfacl: .: Operation not supported
1The Solaris setfacl also behaves.
The FreeBSD manpage says this:
EXIT STATUS
The setfacl utility exits 0 on success, and >0 if an error occurs.Anyone here know more about FreeBSD to shed light on this?