diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2025-10-07 21:04:13 -0400 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2025-10-09 20:35:02 -0400 |
| commit | 42bbe9a075807fe578fd2680a7c64b80b7c2e24f (patch) | |
| tree | 2564360b5b612d99402d9ca973bd4d1b2b34b377 /test/ruby/test_process.rb | |
| parent | c80ff8da25333bac6beaff7b0cffd07b023f78e9 (diff) | |
Skip TestProcess#test_rlimit_nofile on LSAN
Diffstat (limited to 'test/ruby/test_process.rb')
| -rw-r--r-- | test/ruby/test_process.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 7cea0b3a70..3bbff73df8 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -58,6 +58,8 @@ class TestProcess < Test::Unit::TestCase def test_rlimit_nofile return unless rlimit_exist? + omit "LSAN needs to open proc file" if Test::Sanitizers.lsan_enabled? + with_tmpchdir { File.write 's', <<-"End" # Too small RLIMIT_NOFILE, such as zero, causes problems. |
