diff options
author | kaustubh-d <kaustubh@clogeny.com> | 2014-08-18 09:09:14 +0000 |
---|---|---|
committer | kaustubh-d <kaustubh@clogeny.com> | 2014-08-18 09:09:14 +0000 |
commit | 96797f8238c3bb86b2ce2e4218cf61316337b91c (patch) | |
tree | 276add650d9ad921808f5234001a4afe2ca34d8a /spec/functional/resource/user | |
parent | 57fe720d446044ed503cd00a4caff96f9955d01d (diff) | |
download | chef-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.rb | 3 |
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 |