summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtest/types/tc_group.rb10
1 files changed, 8 insertions, 2 deletions
diff --git a/test/types/tc_group.rb b/test/types/tc_group.rb
index c2288fc3d..a53c49bfb 100755
--- a/test/types/tc_group.rb
+++ b/test/types/tc_group.rb
@@ -218,8 +218,14 @@ class TestGroup < TestPuppet
}
@@tmpgroups << name
- trans = assert_events(comp, [:group_created, :group_modified],
- "group")
+ case Facter["operatingsystem"].value
+ when "Darwin":
+ trans = assert_events(comp, [:group_created, :group_modified],
+ "group")
+ else
+ trans = assert_events(comp, [:group_created],
+ "group")
+ end
obj = nil
assert_nothing_raised {