summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-08-14 13:38:53 -0700
committerTim Smith <tsmith84@gmail.com>2020-09-02 16:01:02 -0700
commitb0374e890f7d152ea600e154fdccdea9f50c2414 (patch)
treead6c74dc8ee29021aeb0e7081136ca917e2f416a /spec
parent2b319e659cc84cede8ac89030061bea8c24cbe3c (diff)
downloadchef-b0374e890f7d152ea600e154fdccdea9f50c2414.tar.gz
Convert the functional tests over to macos? as wellbig_sur15
I missed these. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec')
-rw-r--r--spec/functional/resource/link_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/functional/resource/link_spec.rb b/spec/functional/resource/link_spec.rb
index fea3aa6088..df8d61b758 100644
--- a/spec/functional/resource/link_spec.rb
+++ b/spec/functional/resource/link_spec.rb
@@ -656,7 +656,7 @@ describe Chef::Resource::Link do
end
context "and the link does not yet exist" do
it "links to the target file" do
- skip("OS X/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.
@@ -675,7 +675,7 @@ describe Chef::Resource::Link do
end
context "and the link does not yet exist" do
it "links to the target file" do
- skip("OS X/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