git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [FreeBSD? BUG]: t1304-default-acl.sh fails on FreeBSD 8.1-STABLE
@ 2010-08-17  3:17 Ævar Arnfjörð Bjarmason
  2010-08-18 19:14 ` Ævar Arnfjörð Bjarmason
  0 siblings, 1 reply; 2+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2010-08-17  3:17 UTC (permalink / raw)
  To: Git Mailing List, Matthieu Moy

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
    0

But on Linux:

    $ setfacl -m u:root:rwx . ; echo $?
    setfacl: .: Operation not supported
    1

The 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?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-18 19:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-17  3:17 [FreeBSD? BUG]: t1304-default-acl.sh fails on FreeBSD 8.1-STABLE Ævar Arnfjörð Bjarmason
2010-08-18 19:14 ` Ævar Arnfjörð Bjarmason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).