From f9fb9acb0da91b40a2ba1a0bb93b4c3c72ed7aa6 Mon Sep 17 00:00:00 2001 From: Pádraig Brady
Date: Wed, 14 Oct 2015 15:18:34 +0100 Subject: 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. --- tests/cp/existing-perm-race.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/cp') diff --git a/tests/cp/existing-perm-race.sh b/tests/cp/existing-perm-race.sh index f48369cd5..318986639 100755 --- a/tests/cp/existing-perm-race.sh +++ b/tests/cp/existing-perm-race.sh @@ -24,6 +24,8 @@ require_membership_in_two_groups_ # cp -p gives ENOTSUP on NFS on Linux 2.6.9 at least require_local_dir_ +require_no_default_acl_ . + set _ $groups; shift g1=$1 g2=$2 -- cgit v1.2.3-70-g09d2