]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: avoid false failures with default ACLs
authorPádraig Brady <P@draigBrady.com>
Wed, 14 Oct 2015 14:18:34 +0000 (15:18 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 14 Oct 2015 14:23:14 +0000 (15:23 +0100)
commitf9fb9acb0da91b40a2ba1a0bb93b4c3c72ed7aa6
tree088904d3a7c22aa07e43ee837ce93d148eb23311
parente6b3af647dd5611489b858a3fe14f0e3b1056ce2
tests: avoid false failures with default ACLs

To reproduce:
  setfacl -dm group::rx .
  setfacl -dm other::rx .
  make check

* init.cfg (require_no_default_acl_): A new function to skip
when default ACLs are detected, or if the getfacl utility is
not available then skip if any non LSM ACLs detected.
* tests/cp/existing-perm-race.sh: Call require_no_default_acl_.
* tests/mkdir/parents.sh: Likewise.
* tests/mkdir/perm.sh: Likewise.
init.cfg
tests/cp/existing-perm-race.sh
tests/mkdir/parents.sh
tests/mkdir/perm.sh