From 9af5d697385fd28843d1603e9e6afd272ec5e560 Mon Sep 17 00:00:00 2001 From: luke Date: Mon, 12 Jun 2006 20:54:33 +0000 Subject: adding nothing test to zone tests git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1255 980ebf18-57e1-0310-9a29-db15c13687c0 --- test/types/zone.rb | 9 ++++++--- 1 file 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 -- cgit