diff options
author | Pádraig Brady <P@draigBrady.com> | 2013-04-12 22:57:45 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2013-04-14 01:03:56 +0100 |
commit | 1dd8a33169b69716c4a4b92dbe1bd99336d92b23 (patch) | |
tree | dee302fc0b33752491e18705c57eb830d8f7e3a3 /tests/install/install-C-selinux.sh | |
parent | c8ac385299950ba84eb8c33f7e32e4d85b18e3ff (diff) | |
download | coreutils-1dd8a33169b69716c4a4b92dbe1bd99336d92b23.tar.xz |
tests: avoid false failures with non default groups
On OS X it was seen that the group ID used for new files,
are set to a that of the directory rather than the current user.
It's not currently understood when this happens, but it was confirmed
that ACLs, extended attributes and setgid bits are _not_ involved.
* init.cfg (skip_if_nondefault_group_): A new function to detect
and avoid this situation. Document with links to the discussions
for hopefully future clarification.
* tests/install/install-C-root.sh: Use the new function.
* tests/install/install-C-selinux.sh: Likewise.
* tests/install/install-C.sh: Likewise.
Diffstat (limited to 'tests/install/install-C-selinux.sh')
-rwxr-xr-x | tests/install/install-C-selinux.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/install/install-C-selinux.sh b/tests/install/install-C-selinux.sh index 8513d50b8..ce9e0c360 100755 --- a/tests/install/install-C-selinux.sh +++ b/tests/install/install-C-selinux.sh @@ -19,7 +19,7 @@ . "${srcdir=.}/tests/init.sh"; path_prepend_ ./src print_ver_ ginstall require_selinux_ - +skip_if_nondefault_group_ echo test > a || framework_failure_ chcon -u system_u a || skip_ "chcon doesn't work" |