summaryrefslogtreecommitdiff
path: root/spec/unit/provider/mount
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2018-05-02 11:04:12 +0100
committerThom May <thom@chef.io>2018-05-02 11:04:12 +0100
commit88adc980804094c054ae7157a2052a6c775c3e42 (patch)
treea6203aabad8228f408e99cc68d3e1b9f7f2f7c7b /spec/unit/provider/mount
parent4a053a756e8ba4ab9d1fcad384396f465eb1cee7 (diff)
downloadchef-88adc980804094c054ae7157a2052a6c775c3e42.tar.gz
Ensure we don't run tests on unsupported platformstm/fix_unix_tests
Our more esoteric unices need some more careful hand holding Signed-off-by: Thom May <thom@chef.io>
Diffstat (limited to 'spec/unit/provider/mount')
-rw-r--r--spec/unit/provider/mount/mount_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/unit/provider/mount/mount_spec.rb b/spec/unit/provider/mount/mount_spec.rb
index cd663b9684..af7916e5bd 100644
--- a/spec/unit/provider/mount/mount_spec.rb
+++ b/spec/unit/provider/mount/mount_spec.rb
@@ -495,7 +495,8 @@ describe Chef::Provider::Mount::Mount do
# the fstab might contain the mount with the device as a device but the resource has a label.
# we should not create two mount lines, but update the existing one
- context "when the device is described differently" do
+ # not supported on solaris because it can't cope with a UUID device type
+ context "when the device is described differently", :not_supported_on_solaris do
it "should update the existing line" do
@current_resource.enabled(true)
status = double(:stdout => "/dev/sdz1\n", :exitstatus => 1)