diff options
-rwxr-xr-x | test/types/zone.rb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/types/zone.rb b/test/types/zone.rb index 44cc05033..f96ef81f0 100755 --- a/test/types/zone.rb +++ b/test/types/zone.rb @@ -15,6 +15,12 @@ require 'facter' class TestZone < Test::Unit::TestCase include TestPuppet + def test_nothing + end + + # Zones can only be tested on solaris. + if Facter["operatingsystem"].value == "Solaris" + def setup super @@zones = [] @@ -42,9 +48,6 @@ class TestZone < Test::Unit::TestCase super end - # Zones can only be tested on solaris. - if Facter["operatingsystem"].value == "Solaris" - def mkzone(name) zone = nil |