tests: avoid false failures with non default groups
commit1dd8a33169b69716c4a4b92dbe1bd99336d92b23
authorPádraig Brady <P@draigBrady.com>
Fri, 12 Apr 2013 21:57:45 +0000 (12 22:57 +0100)
committerPádraig Brady <P@draigBrady.com>
Sun, 14 Apr 2013 00:03:56 +0000 (14 01:03 +0100)
treedee302fc0b33752491e18705c57eb830d8f7e3a3
parentc8ac385299950ba84eb8c33f7e32e4d85b18e3ff
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.
init.cfg
tests/install/install-C-root.sh
tests/install/install-C-selinux.sh
tests/install/install-C.sh