diff options
author | Luke Kanies <luke@madstop.com> | 2007-11-24 14:54:38 -0600 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2007-11-24 14:54:38 -0600 |
commit | 8de1412d97ac9d80500efb5cb94451ab67908448 (patch) | |
tree | f45fd7794ad7c33a4f0ae2639d5ba1ced896934a /test/network/handler | |
parent | 7c36ae9f6bc8f6043443a0cf12f769c603895b00 (diff) | |
download | puppet-8de1412d97ac9d80500efb5cb94451ab67908448.tar.gz puppet-8de1412d97ac9d80500efb5cb94451ab67908448.tar.xz puppet-8de1412d97ac9d80500efb5cb94451ab67908448.zip |
Integrating most of Matt Palmer's from
http://theshed.hezmatt.org/mattshacks/puppet/_patches/puppet-0.23.2/.
There are still a few that haven't made it in, notably those related
to the plugins module, which I'm planning on integrating separately.
Diffstat (limited to 'test/network/handler')
-rwxr-xr-x | test/network/handler/bucket.rb | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/test/network/handler/bucket.rb b/test/network/handler/bucket.rb index d72206e29..1a7063366 100755 --- a/test/network/handler/bucket.rb +++ b/test/network/handler/bucket.rb @@ -203,38 +203,6 @@ class TestBucket < Test::Unit::TestCase checkfiles(client) end - # test that things work over the wire - def test_webxmlmix - Puppet::Util::SUIDManager.stubs(:asuser).yields - - files = filelist() - - tmpdir = File.join(tmpdir(),"tmpfiledir") - @@tmpfiles << tmpdir - FileUtils.mkdir_p(tmpdir) - - Puppet[:autosign] = true - Puppet[:certname] = "localhost" - client = nil - port = Puppet[:masterport] - - pid = mkserver(:CA => {}, :FileBucket => { :Path => @bucket}) - - assert_nothing_raised { - client = Puppet::Network::Client.dipper.new( - :Server => "localhost", - :Port => @@port - ) - } - - checkfiles(client) - - unless pid - raise "Uh, we don't have a child pid" - end - Process.kill("TERM", pid) - end - def test_no_path_duplicates bucket = nil assert_nothing_raised { |