summaryrefslogtreecommitdiffstats
path: root/test/ral/providers/host
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-03-18 22:48:57 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-03-18 22:48:57 +0000
commit6b85962b0c519157fac3376e0baf262f0ce38bf7 (patch)
treefd17944aa3ec575e242f54e4c281cd9e5c548e04 /test/ral/providers/host
parent8eddd4bcd23923a166e1ab7d81be1c1f2d341cdf (diff)
downloadpuppet-6b85962b0c519157fac3376e0baf262f0ce38bf7.tar.gz
puppet-6b85962b0c519157fac3376e0baf262f0ce38bf7.tar.xz
puppet-6b85962b0c519157fac3376e0baf262f0ce38bf7.zip
The first round of fixes for failing tests.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2296 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/ral/providers/host')
-rwxr-xr-xtest/ral/providers/host/parsed.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/ral/providers/host/parsed.rb b/test/ral/providers/host/parsed.rb
index 2a015e086..eefe0f8ab 100755
--- a/test/ral/providers/host/parsed.rb
+++ b/test/ral/providers/host/parsed.rb
@@ -111,7 +111,7 @@ class TestParsedHostProvider < Test::Unit::TestCase
newtext = nil
assert_nothing_raised do
- newtext = @provider.to_file(instances)
+ newtext = @provider.to_file(instances).gsub(/^# HEADER.+\n/, '')
end
assert_equal(text, newtext)
@@ -221,11 +221,6 @@ class TestParsedHostProvider < Test::Unit::TestCase
assert(hash[:ip], "Could not find ip for host %s" % name)
}
end
-
- def test_mountsparse
- files = fakedata("data/types/hosts")
- fakedataparse(*files)
- end
end
# $Id$