summaryrefslogtreecommitdiff
path: root/spec/functional/resource
diff options
context:
space:
mode:
authorsersut <serdar@opscode.com>2013-11-19 11:04:47 -0800
committersersut <serdar@opscode.com>2013-11-19 11:04:47 -0800
commit689ed8148cb0212ffe269b1d78a720c6c96a7ff7 (patch)
tree76b5d1d76f73387157cf33d4e10835652a30ad5a /spec/functional/resource
parent0c1501e817427f69e68f6b21e540ea6b525e9246 (diff)
downloadchef-689ed8148cb0212ffe269b1d78a720c6c96a7ff7.tar.gz
Turn off functional group resource tests on MacOSX 10.6 due to caching issue on Etc.getgrnam() on certain boxes.
Diffstat (limited to 'spec/functional/resource')
-rw-r--r--spec/functional/resource/group_spec.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/functional/resource/group_spec.rb b/spec/functional/resource/group_spec.rb
index 4f11901b27..d69409a5c9 100644
--- a/spec/functional/resource/group_spec.rb
+++ b/spec/functional/resource/group_spec.rb
@@ -20,7 +20,11 @@
require 'spec_helper'
require 'functional/resource/base'
-describe Chef::Resource::Group, :requires_root_or_running_windows do
+# Chef::Resource::Group are turned off on Mac OS X 10.6 due to caching
+# issues around Etc.getgrnam() not picking up the group membership
+# changes that are done on the system. Etc.endgrent is not functioning
+# correctly on certain 10.6 boxes.
+describe Chef::Resource::Group, :requires_root_or_running_windows, :not_supported_on_mac_osx_106 do
def group_should_exist(group)
case ohai[:platform_family]
when "debian", "fedora", "rhel", "suse", "gentoo", "slackware", "arch"