diff options
author | Tim Smith <tsmith@chef.io> | 2017-05-09 22:09:35 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2017-05-12 09:29:33 -0700 |
commit | c2d577d0f431a9e95d220f20cd00d38f4b117fec (patch) | |
tree | 4ad4ed988e8410f6a8284beb4b046e227f8fd432 | |
parent | fbe467134db1339f429950503874e2bbd947bf54 (diff) | |
download | chef-c2d577d0f431a9e95d220f20cd00d38f4b117fec.tar.gz |
Disable pref file test on Windowstas50/apt_preference
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | spec/unit/provider/apt_preference_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/unit/provider/apt_preference_spec.rb b/spec/unit/provider/apt_preference_spec.rb index 85c10dcbba..55c277e6fe 100644 --- a/spec/unit/provider/apt_preference_spec.rb +++ b/spec/unit/provider/apt_preference_spec.rb @@ -61,7 +61,8 @@ describe Chef::Provider::AptPreference do FileUtils.touch("#{pref_dir}/libmysqlclient16.1*") end - it "creates a sanitized .pref file and removes the legacy cookbook files" do + # FileUtils.touch throws "Invalid argument @ utime_failed" in appveyer + it "creates a sanitized .pref file and removes the legacy cookbook files", :unix_only do provider.run_action(:add) expect(new_resource).to be_updated_by_last_action expect(File).not_to exist("#{pref_dir}/libmysqlclient16.1*.pref") |