summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2017-04-20 18:18:24 +0100
committerThom May <thom@chef.io>2017-04-20 18:18:24 +0100
commit3fce9052770ccbbf121824f183e02ea7be7fc7da (patch)
treea39ae26aabc93ea14cefd7ecde9cf3055d9e1f64
parente265487be7f503119057621d6ef125667f06e39c (diff)
downloadchef-tm/fix_suse_12.tar.gz
Looks like this is broken on SLES 12.0/x64 tootm/fix_suse_12
Signed-off-by: Thom May <thom@chef.io>
-rw-r--r--spec/functional/resource/user/useradd_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/resource/user/useradd_spec.rb b/spec/functional/resource/user/useradd_spec.rb
index 497cb0b043..e783356c9f 100644
--- a/spec/functional/resource/user/useradd_spec.rb
+++ b/spec/functional/resource/user/useradd_spec.rb
@@ -639,7 +639,7 @@ describe Chef::Provider::User::Useradd, metadata do
# TODO: platform_family should be setup in spec_helper w/ tags
if %w{opensuse}.include?(OHAI_SYSTEM["platform_family"]) ||
(%w{suse}.include?(OHAI_SYSTEM["platform_family"]) &&
- OHAI_SYSTEM["platform_version"].to_f < 12.1)
+ OHAI_SYSTEM["platform_version"].to_f < 12.0)
# suse 11.x gets this right:
it "errors out trying to unlock the user" do
expect(@error).to be_a(Mixlib::ShellOut::ShellCommandFailed)