diff options
author | Scott Hain <shain@chef.io> | 2015-12-18 10:38:35 -0800 |
---|---|---|
committer | Scott Hain <shain@chef.io> | 2015-12-18 10:38:35 -0800 |
commit | f7320388ddba27693304d268fa8cc30c7d4a2cb2 (patch) | |
tree | fb20730426f51917cd041f1e9ce749f23928127c /spec/functional | |
parent | 5f51f93f71cdee3ed598b38cecd8f5fa1a585f49 (diff) | |
download | chef-f7320388ddba27693304d268fa8cc30c7d4a2cb2.tar.gz |
Disabled mount tests on AIX since they only work in LPARs and we test in WPARs. In the future we should find a way to test this code. One cannot create a ramdisk in a WPAR, since it shares filesystem with the LPAR host.
Diffstat (limited to 'spec/functional')
-rw-r--r-- | spec/functional/resource/mount_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/functional/resource/mount_spec.rb b/spec/functional/resource/mount_spec.rb index 002a927c96..cb3fa453b9 100644 --- a/spec/functional/resource/mount_spec.rb +++ b/spec/functional/resource/mount_spec.rb @@ -21,7 +21,7 @@ require 'chef/mixin/shell_out' require 'tmpdir' # run this test only for following platforms. -include_flag = !(['ubuntu', 'centos', 'aix', 'solaris2'].include?(ohai[:platform])) +include_flag = !(['ubuntu', 'centos', 'solaris2'].include?(ohai[:platform])) describe Chef::Resource::Mount, :requires_root, :skip_travis, :external => include_flag do # Disabled in travis because it refuses to let us mount a ramdisk. /dev/ramX does not @@ -34,6 +34,7 @@ describe Chef::Resource::Mount, :requires_root, :skip_travis, :external => inclu def setup_device_for_mount # use ramdisk for creating a test device for mount. # This can cleaner if we have chef resource/provider for ramdisk. + # TODO: These tests only work in LPARs, not WPARs on AIX. case ohai[:platform] when "aix" ramdisk = shell_out!("mkramdisk 16M").stdout |