diff options
author | kaustubh-d <kaustubh@clogeny.com> | 2013-12-11 04:40:54 -0600 |
---|---|---|
committer | kaustubh-d <kaustubh@clogeny.com> | 2014-07-31 11:13:48 +0530 |
commit | 8cca807c018c6a552ea98755110b394d0e6d9d5f (patch) | |
tree | f3254d91797e588be64ea4d6cc7c60a5bc0eb6f1 /spec/functional/resource | |
parent | 3c73a57085d375f4058c783853ac7116b1ea09ba (diff) | |
download | chef-8cca807c018c6a552ea98755110b394d0e6d9d5f.tar.gz |
aix: -m option option to usermod errors on aix
Diffstat (limited to 'spec/functional/resource')
-rw-r--r-- | spec/functional/resource/user_spec.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/functional/resource/user_spec.rb b/spec/functional/resource/user_spec.rb index a20fe2e659..b3d521d173 100644 --- a/spec/functional/resource/user_spec.rb +++ b/spec/functional/resource/user_spec.rb @@ -399,6 +399,11 @@ describe Chef::Resource::User, metadata do File.should_not exist("/home/foo") File.should exist("/home/bar") end + elsif ohai[:platform] == "aix" + it "creates the home dir in the desired location" do + File.should_not exist("/home/foo") + File.should exist("/home/bar") + end else it "does not create the home dir in the desired location (XXX)" do # This behavior seems contrary to expectation and non-convergent. |