diff options
Diffstat (limited to 'test/ral/providers/mount/netinfo.rb')
-rwxr-xr-x | test/ral/providers/mount/netinfo.rb | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/test/ral/providers/mount/netinfo.rb b/test/ral/providers/mount/netinfo.rb index 7a9703c1b..2474cbdf7 100755 --- a/test/ral/providers/mount/netinfo.rb +++ b/test/ral/providers/mount/netinfo.rb @@ -6,7 +6,7 @@ require File.dirname(__FILE__) + '/../../../lib/puppettest' require 'puppettest' -# +# # if Puppet::Type.type(:mount).provider(:netinfo).suitable? # class TestNetinfoMountProvider < Test::Unit::TestCase # include PuppetTest @@ -15,7 +15,7 @@ require 'puppettest' # super # @mount = Puppet::Type.type(:mount) # end -# +# # if Process.uid == 0 and Facter.value(:hostname) == "midden" # def test_mount_nfs # culain = nil @@ -23,36 +23,36 @@ require 'puppettest' # culain = @mount.create :name => "/mnt", :device => "culain:/home/luke", :options => "-o -P", :ensure => :present, # :fstype => "nfs" # end -# +# # assert(culain, "Did not create fs") -# +# # assert_apply(culain) -# +# # assert_nothing_raised do # culain.provider.mount # end -# +# # assert(culain.provider.mounted?, "fs is not considered mounted") # assert_nothing_raised() { culain.provider.unmount } -# +# # culain[:ensure] = :absent -# +# # assert_apply(culain) # end # end -# +# # def test_simple # root = nil # assert_nothing_raised do # root = @mount.create :name => "/", :check => @mount.validproperties # end -# +# # assert_nothing_raised do # root.retrieve # end -# +# # prov = root.provider -# +# # assert_nothing_raised do # assert(prov.device, "Did not value for device") # assert(prov.device != :absent, "Netinfo thinks the root device is missing") @@ -71,7 +71,7 @@ require 'puppettest' # p obj # assert(obj.is(:device), "Did not get value for device in %s" % obj[:name]) # end -# +# # assert(list.detect { |m| m[:name] == "/"}, "Could not find root fs") # end # end |