diff options
author | Hiroshi SHIBATA <[email protected]> | 2025-04-02 14:53:03 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2025-04-02 16:24:47 +0900 |
commit | e71192da69f733a987a5db5692f4a33b303ade0d (patch) | |
tree | 4186e4965e3fb418becc5c6a4155712dec8d55f4 | |
parent | 3d4ea45411cba9d14f061aa5a26a0e146f3d7304 (diff) |
Removed Solaris conditions from optional and shared directories
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13037
-rw-r--r-- | spec/ruby/optional/capi/kernel_spec.rb | 6 | ||||
-rw-r--r-- | spec/ruby/shared/file/sticky.rb | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/spec/ruby/optional/capi/kernel_spec.rb b/spec/ruby/optional/capi/kernel_spec.rb index ba301ec172..d915a72c22 100644 --- a/spec/ruby/optional/capi/kernel_spec.rb +++ b/spec/ruby/optional/capi/kernel_spec.rb @@ -242,10 +242,8 @@ describe "C-API Kernel function" do @s.rb_yield(1) { break 73 }.should == 73 end - platform_is_not :"solaris2.10" do # NOTE: i386-pc-solaris2.10 - it "rb_yield through a callback to a block that breaks with a value returns the value" do - @s.rb_yield_indirected(1) { break 73 }.should == 73 - end + it "rb_yield through a callback to a block that breaks with a value returns the value" do + @s.rb_yield_indirected(1) { break 73 }.should == 73 end it "rb_yield to block passed to enumerator" do diff --git a/spec/ruby/shared/file/sticky.rb b/spec/ruby/shared/file/sticky.rb index 38bb6ed26b..e07fa22fd7 100644 --- a/spec/ruby/shared/file/sticky.rb +++ b/spec/ruby/shared/file/sticky.rb @@ -8,7 +8,7 @@ describe :file_sticky, shared: true do Dir.rmdir(@dir) if File.exist?(@dir) end - platform_is_not :windows, :darwin, :freebsd, :netbsd, :openbsd, :solaris, :aix do + platform_is_not :windows, :darwin, :freebsd, :netbsd, :openbsd, :aix do it "returns true if the named file has the sticky bit, otherwise false" do Dir.mkdir @dir, 01755 |