summaryrefslogtreecommitdiffstats
path: root/test/other
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-07-29 00:46:11 -0500
committerLuke Kanies <luke@madstop.com>2008-07-29 00:46:11 -0500
commit40375a8fc34dbd85d87f507ba72c7394b25b7271 (patch)
treeefd5a93980b042b73322bd31e6fdb41203d07576 /test/other
parent93eeff59d807261ed154cc104e318ae604602430 (diff)
parent8f5800f0608dff46407cb5f23ee73f314fe051e8 (diff)
downloadpuppet-40375a8fc34dbd85d87f507ba72c7394b25b7271.tar.gz
puppet-40375a8fc34dbd85d87f507ba72c7394b25b7271.tar.xz
puppet-40375a8fc34dbd85d87f507ba72c7394b25b7271.zip
Merge branch '0.24.x' into merging
Conflicts: test/ral/type/filesources.rb
Diffstat (limited to 'test/other')
-rwxr-xr-xtest/other/provider.rb45
1 files changed, 0 insertions, 45 deletions
diff --git a/test/other/provider.rb b/test/other/provider.rb
index 3e4ad83d6..b0860f634 100755
--- a/test/other/provider.rb
+++ b/test/other/provider.rb
@@ -48,51 +48,6 @@ class TestImpl < Test::Unit::TestCase
end
- def test_provider_false_confine
- assert_nothing_raised do
- @provider.confine :false => false
- end
-
- assert(@provider.suitable?, "False did not check correctly")
- end
-
- def test_provider_true_confine
- assert_nothing_raised do
- @provider.confine :true => true
- end
-
- assert(@provider.suitable?, "True did not check correctly")
-
- # Now check whether we multiple true things work
- assert_nothing_raised do
- @provider.confine :true => false
- @provider.confine :true => true
- end
- assert(! @provider.suitable?, "One truth overrode another")
- end
-
- def test_provider_exists_confine
- file = tempfile()
-
- assert_nothing_raised do
- @provider.confine :exists => file
- end
-
- assert(! @provider.suitable?, "Exists did not check correctly")
- File.open(file, "w") { |f| f.puts "" }
- assert(@provider.suitable?, "Exists did not find file correctly")
- end
-
- def test_provider_facts_confine
- # Now check for multiple platforms
- assert_nothing_raised do
- @provider.confine :operatingsystem => [Facter["operatingsystem"].value, :yayos]
- @provider.confine :operatingsystem => [:fakeos, :otheros]
- end
-
- assert(@provider.suitable?, "Implementation not considered suitable")
- end
-
def test_provider_default
nondef = nil
assert_nothing_raised {