diff options
author | Hiroshi SHIBATA <[email protected]> | 2025-04-02 13:38:49 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2025-04-02 16:24:47 +0900 |
commit | 6bd5a51ab5a2b1d33fa586cb2969b25d8d68c121 (patch) | |
tree | a9bc14d06c1108fc5e29698a80f4fb38a42b18fa /test/dtrace | |
parent | ca97302dd404070bf971767914b6e4855b4de8a9 (diff) |
Removed Solaris conditions from test files
We no longer execute those files with Solaris platforms.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13037
Diffstat (limited to 'test/dtrace')
-rw-r--r-- | test/dtrace/helper.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/dtrace/helper.rb b/test/dtrace/helper.rb index 7fa16965f1..9e8c7ecd52 100644 --- a/test/dtrace/helper.rb +++ b/test/dtrace/helper.rb @@ -65,11 +65,7 @@ module DTrace class TestCase < Test::Unit::TestCase INCLUDE = File.expand_path('..', File.dirname(__FILE__)) - case RUBY_PLATFORM - when /solaris/i - # increase bufsize to 8m (default 4m on Solaris) - DTRACE_CMD = %w[dtrace -b 8m] - when /darwin/i + if RUBY_PLATFORM =~ /darwin/i READ_PROBES = proc do |cmd| lines = nil PTY.spawn(*cmd) do |io, _, pid| |