summaryrefslogtreecommitdiff
path: root/spec/functional
diff options
context:
space:
mode:
authorkaustubh-d <kaustubh@clogeny.com>2013-12-11 04:40:54 -0600
committerkaustubh-d <kaustubh@clogeny.com>2014-07-31 11:13:48 +0530
commit8cca807c018c6a552ea98755110b394d0e6d9d5f (patch)
treef3254d91797e588be64ea4d6cc7c60a5bc0eb6f1 /spec/functional
parent3c73a57085d375f4058c783853ac7116b1ea09ba (diff)
downloadchef-8cca807c018c6a552ea98755110b394d0e6d9d5f.tar.gz
aix: -m option option to usermod errors on aix
Diffstat (limited to 'spec/functional')
-rw-r--r--spec/functional/resource/user_spec.rb5
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.