summaryrefslogtreecommitdiffstats
path: root/spec/integration
diff options
context:
space:
mode:
authorPieter van de Bruggen <pieter@puppetlabs.com>2011-05-17 14:50:40 -0700
committerPieter van de Bruggen <pieter@puppetlabs.com>2011-05-17 14:50:40 -0700
commitf9e44f041b3fdc120b1c78554c35c83f7517152e (patch)
treef5d4687277fff6fe697a92089f1fa9283dce1bb4 /spec/integration
parent99d437d2bbc2339f092304715ec562fbbcb0a50c (diff)
parentc8b294a0b0a1fc91a64c0a1ac3bab3b2aec92faf (diff)
downloadpuppet-f9e44f041b3fdc120b1c78554c35c83f7517152e.tar.gz
puppet-f9e44f041b3fdc120b1c78554c35c83f7517152e.tar.xz
puppet-f9e44f041b3fdc120b1c78554c35c83f7517152e.zip
Merge branch '2.7.x' into 2.7.next
Diffstat (limited to 'spec/integration')
-rwxr-xr-xspec/integration/application/doc_spec.rb2
-rwxr-xr-xspec/integration/network/formats_spec.rb2
-rwxr-xr-xspec/integration/network/server/mongrel_spec.rb2
-rwxr-xr-xspec/integration/node_spec.rb2
-rwxr-xr-xspec/integration/provider/package_spec.rb2
-rwxr-xr-xspec/integration/provider/service/init_spec.rb4
-rwxr-xr-xspec/integration/transaction_spec.rb2
-rwxr-xr-xspec/integration/util/file_locking_spec.rb2
-rwxr-xr-xspec/integration/util/rdoc/parser_spec.rb2
9 files changed, 10 insertions, 10 deletions
diff --git a/spec/integration/application/doc_spec.rb b/spec/integration/application/doc_spec.rb
index c1e463033..9412976f0 100755
--- a/spec/integration/application/doc_spec.rb
+++ b/spec/integration/application/doc_spec.rb
@@ -5,7 +5,7 @@ require 'puppet_spec/files'
describe Puppet::Application::Doc do
include PuppetSpec::Files
- it "should not generate an error when module dir overlaps parent of site.pp (#4798)" do
+ it "should not generate an error when module dir overlaps parent of site.pp (#4798)", :'fails_on_ruby_1.9.2' => true do
begin
# Note: the directory structure below is more complex than it
# needs to be, but it's representative of the directory structure
diff --git a/spec/integration/network/formats_spec.rb b/spec/integration/network/formats_spec.rb
index af505f267..214b2d78f 100755
--- a/spec/integration/network/formats_spec.rb
+++ b/spec/integration/network/formats_spec.rb
@@ -44,7 +44,7 @@ describe Puppet::Network::FormatHandler.format(:s) do
end
end
-describe Puppet::Network::FormatHandler.format(:pson) do
+describe Puppet::Network::FormatHandler.format(:pson), :'fails_on_ruby_1.9.2' => true do
describe "when pson is absent", :if => (! Puppet.features.pson?) do
before do
diff --git a/spec/integration/network/server/mongrel_spec.rb b/spec/integration/network/server/mongrel_spec.rb
index fd5903b9e..1ce59eb49 100755
--- a/spec/integration/network/server/mongrel_spec.rb
+++ b/spec/integration/network/server/mongrel_spec.rb
@@ -3,7 +3,7 @@ require 'spec_helper'
require 'puppet/network/server'
require 'socket'
-describe Puppet::Network::Server do
+describe Puppet::Network::Server, :'fails_on_ruby_1.9.2' => true do
describe "when using mongrel", :if => Puppet.features.mongrel? do
before :each do
diff --git a/spec/integration/node_spec.rb b/spec/integration/node_spec.rb
index e15ddfc1e..4ea6142e2 100755
--- a/spec/integration/node_spec.rb
+++ b/spec/integration/node_spec.rb
@@ -43,7 +43,7 @@ describe Puppet::Node do
Puppet::Node.indirection.terminus(:ldap).should_not be_nil
end
- it "should be able to use the plain terminus" do
+ it "should be able to use the plain terminus", :'fails_on_ruby_1.9.2' => true do
Puppet::Node.indirection.stubs(:terminus_class).returns :plain
# Load now, before we stub the exists? method.
diff --git a/spec/integration/provider/package_spec.rb b/spec/integration/provider/package_spec.rb
index 2d75826e8..5fecdf13c 100755
--- a/spec/integration/provider/package_spec.rb
+++ b/spec/integration/provider/package_spec.rb
@@ -1,7 +1,7 @@
#!/usr/bin/env rspec
require 'spec_helper'
-describe "Package Provider" do
+describe "Package Provider", :'fails_on_ruby_1.9.2' => true do
Puppet::Type.type(:package).providers.each do |name|
provider = Puppet::Type.type(:package).provider(name)
diff --git a/spec/integration/provider/service/init_spec.rb b/spec/integration/provider/service/init_spec.rb
index ef7d98b4c..c209475bf 100755
--- a/spec/integration/provider/service/init_spec.rb
+++ b/spec/integration/provider/service/init_spec.rb
@@ -3,14 +3,14 @@ require 'spec_helper'
provider = Puppet::Type.type(:service).provider(:init)
-describe provider do
+describe provider, :'fails_on_ruby_1.9.2' => true do
describe "when running on FreeBSD", :if => (Facter.value(:operatingsystem) == "FreeBSD") do
it "should set its default path to include /etc/init.d and /usr/local/etc/init.d" do
provider.defpath.should == ["/etc/rc.d", "/usr/local/etc/rc.d"]
end
end
- describe "when running on HP-UX", :if => (Facter.value(:operatingsystem) == "HP-UX")do
+ describe "when running on HP-UX", :if => (Facter.value(:operatingsystem) == "HP-UX") do
it "should set its default path to include /sbin/init.d" do
provider.defpath.should == "/sbin/init.d"
end
diff --git a/spec/integration/transaction_spec.rb b/spec/integration/transaction_spec.rb
index 0ff50f47c..00e9dbb8e 100755
--- a/spec/integration/transaction_spec.rb
+++ b/spec/integration/transaction_spec.rb
@@ -220,7 +220,7 @@ describe Puppet::Transaction do
FileTest.should be_exists(newfile)
end
- it "should still trigger skipped resources" do
+ it "should still trigger skipped resources", :'fails_on_ruby_1.9.2' => true do
catalog = mk_catalog
catalog.add_resource(*Puppet::Type.type(:schedule).mkdefaultschedules)
diff --git a/spec/integration/util/file_locking_spec.rb b/spec/integration/util/file_locking_spec.rb
index 9e829df0e..3b6964e8b 100755
--- a/spec/integration/util/file_locking_spec.rb
+++ b/spec/integration/util/file_locking_spec.rb
@@ -13,7 +13,7 @@ describe Puppet::Util::FileLocking do
File.open(@file, "w") { |f| f.puts YAML.dump(@data) }
end
- it "should be able to keep file corruption from happening when there are multiple writers threads" do
+ it "should be able to keep file corruption from happening when there are multiple writers threads", :'fails_in_ruby_1.9.2' => true do
threads = []
sync = Sync.new
9.times { |a|
diff --git a/spec/integration/util/rdoc/parser_spec.rb b/spec/integration/util/rdoc/parser_spec.rb
index ce316309b..bf1f0d268 100755
--- a/spec/integration/util/rdoc/parser_spec.rb
+++ b/spec/integration/util/rdoc/parser_spec.rb
@@ -8,7 +8,7 @@ require 'puppet/util/rdoc/code_objects'
require 'rdoc/options'
require 'rdoc/rdoc'
-describe RDoc::Parser do
+describe RDoc::Parser, :'fails_on_ruby_1.9.2' => true do
require 'puppet_spec/files'
include PuppetSpec::Files