summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2017-04-20 18:18:24 +0100
committerThom May <thom@chef.io>2017-06-20 14:04:11 +0100
commitda33997c5caa641764fb7fdfeddfa65151e461c8 (patch)
treec1b62cb4839d6bdd6cead0be1b4e947a05439207
parent2aecb6e628dada98f9a63ea89ef7cfbd7a6f2b7d (diff)
downloadchef-da33997c5caa641764fb7fdfeddfa65151e461c8.tar.gz
Looks like this is broken on SLES 12.0/x64 too
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)