diff options
author | Tim Smith <tsmith@chef.io> | 2020-08-14 15:50:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-14 15:50:33 -0700 |
commit | a3b45df8299cbec9e9721bb51535aba6f3c0eef5 (patch) | |
tree | 23943a775e0a682bc47995ae0f085b51b1a56d9b | |
parent | b5b845be5d4f3940f51813064b30380c06ab5337 (diff) | |
parent | a827f24cb7bb0944a30f7787e1784b4d7341ca12 (diff) | |
download | chef-a3b45df8299cbec9e9721bb51535aba6f3c0eef5.tar.gz |
Merge pull request #10303 from chef/macos_specs
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | spec/functional/resource/link_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/functional/resource/link_spec.rb b/spec/functional/resource/link_spec.rb index 3c8e90a6b2..c1de3bf99d 100644 --- a/spec/functional/resource/link_spec.rb +++ b/spec/functional/resource/link_spec.rb @@ -653,7 +653,7 @@ describe Chef::Resource::Link do end context "and the link does not yet exist" do it "links to the target file" do - skip("macOS/FreeBSD/AIX/Solaris symlink? and readlink working on hard links to symlinks") if os_x? || freebsd? || aix? || solaris? + skip("macOS/FreeBSD/AIX/Solaris symlink? and readlink working on hard links to symlinks") if macos? || freebsd? || aix? || solaris? resource.run_action(:create) expect(File.exist?(target_file)).to be_truthy # macOS gets angry about this sort of link. Bug in macOS, IMO. @@ -672,7 +672,7 @@ describe Chef::Resource::Link do end context "and the link does not yet exist" do it "links to the target file" do - skip("macOS/FreeBSD/AIX/Solaris fails to create hardlinks to broken symlinks") if os_x? || freebsd? || aix? || solaris? + skip("macOS/FreeBSD/AIX/Solaris fails to create hardlinks to broken symlinks") if macos? || freebsd? || aix? || solaris? resource.run_action(:create) expect(File.exist?(target_file) || File.symlink?(target_file)).to be_truthy expect(symlink?(target_file)).to be_truthy |