summaryrefslogtreecommitdiff
path: root/spec/functional/resource/user
diff options
context:
space:
mode:
authorkaustubh-d <kaustubh@clogeny.com>2014-08-18 09:09:14 +0000
committerkaustubh-d <kaustubh@clogeny.com>2014-08-18 09:09:14 +0000
commit96797f8238c3bb86b2ce2e4218cf61316337b91c (patch)
tree276add650d9ad921808f5234001a4afe2ca34d8a /spec/functional/resource/user
parent57fe720d446044ed503cd00a4caff96f9955d01d (diff)
downloadchef-96797f8238c3bb86b2ce2e4218cf61316337b91c.tar.gz
revert change for ubuntu and fix test.
Diffstat (limited to 'spec/functional/resource/user')
-rw-r--r--spec/functional/resource/user/useradd_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/functional/resource/user/useradd_spec.rb b/spec/functional/resource/user/useradd_spec.rb
index 997276fc3c..1fbe6fcb4d 100644
--- a/spec/functional/resource/user/useradd_spec.rb
+++ b/spec/functional/resource/user/useradd_spec.rb
@@ -647,10 +647,11 @@ describe Chef::Provider::User::Useradd, metadata do
@error.should be_nil
if ohai[:platform] == "aix"
pw_entry.passwd.should == '*'
+ user_account_should_be_unlocked
else
pw_entry.passwd.should == 'x'
+ shadow_password.should include("!")
end
- user_account_should_be_unlocked
end
end
end