diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-07-03 23:15:15 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-07-03 23:15:15 +0000 |
| commit | 2e78526b6bf646584feb19adb95a4f5fdd8f8b7a (patch) | |
| tree | 83ee22f8ef7563580fbbedab1d061ca337b8ad50 /test/client | |
| parent | e57c5131aee017bd015e9419b5a1ceeb306677a7 (diff) | |
| download | puppet-2e78526b6bf646584feb19adb95a4f5fdd8f8b7a.tar.gz puppet-2e78526b6bf646584feb19adb95a4f5fdd8f8b7a.tar.xz puppet-2e78526b6bf646584feb19adb95a4f5fdd8f8b7a.zip | |
Some updates resulting from trying to track down a segfault introduced when I upgraded to 1.8.4-5 in Debian. I never found the segfault and had ot downgrade to 1.8.4-1. I expect it will not be encountered in real life, only in testing.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1355 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/client')
| -rw-r--r-- | test/client/master.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/client/master.rb b/test/client/master.rb index 0a35a78c3..7e447b095 100644 --- a/test/client/master.rb +++ b/test/client/master.rb @@ -118,20 +118,24 @@ class TestMasterClient < Test::Unit::TestCase # Make sure non-string facts don't make things go kablooie def test_nonstring_facts + Puppet.err :a # Add a nonstring fact Facter.add("nonstring") do setcode { 1 } end + Puppet.err :b assert_equal(1, Facter.nonstring, "Fact was a string from facter") client = mkclient() assert(! FileTest.exists?(@createdfile)) + Puppet.err :c assert_nothing_raised { client.run } + Puppet.err :d end def test_getplugins |
