summaryrefslogtreecommitdiff
path: root/spec/support/shared/functional
diff options
context:
space:
mode:
authorsersut <serdar@opscode.com>2013-06-05 11:47:38 -0700
committersersut <serdar@opscode.com>2013-06-05 11:47:38 -0700
commitd84f98788f7a625ee09c739edef1357e9fae890b (patch)
tree3bc4c0fc8816652f70b7c54096b8023cc52c73e9 /spec/support/shared/functional
parentf436749e9b3a31665ed179c7db9cc718bd77cca4 (diff)
downloadchef-d84f98788f7a625ee09c739edef1357e9fae890b.tar.gz
Don't run blockdev & chardev tests because mknod can not be used inside a Solaris zone.
Diffstat (limited to 'spec/support/shared/functional')
-rw-r--r--spec/support/shared/functional/file_resource.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/shared/functional/file_resource.rb b/spec/support/shared/functional/file_resource.rb
index 8285ea64fc..ec0ddafb00 100644
--- a/spec/support/shared/functional/file_resource.rb
+++ b/spec/support/shared/functional/file_resource.rb
@@ -423,7 +423,7 @@ shared_examples_for "a configured file resource" do
it_behaves_like "file resource not pointing to a real file"
end
- context "when the target file is a blockdev",:unix_only, :requires_root do
+ context "when the target file is a blockdev",:unix_only, :requires_root, :not_supported_on_solaris do
include Chef::Mixin::ShellOut
let(:path) do
File.join(CHEF_SPEC_DATA, "testdev")
@@ -441,7 +441,7 @@ shared_examples_for "a configured file resource" do
it_behaves_like "file resource not pointing to a real file"
end
- context "when the target file is a chardev",:unix_only, :requires_root do
+ context "when the target file is a chardev",:unix_only, :requires_root, :not_supported_on_solaris do
include Chef::Mixin::ShellOut
let(:path) do
File.join(CHEF_SPEC_DATA, "testdev")