summaryrefslogtreecommitdiff
path: root/test/ruby/test_process.rb
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2025-10-07 21:04:13 -0400
committerPeter Zhu <peter@peterzhu.ca>2025-10-09 20:35:02 -0400
commit42bbe9a075807fe578fd2680a7c64b80b7c2e24f (patch)
tree2564360b5b612d99402d9ca973bd4d1b2b34b377 /test/ruby/test_process.rb
parentc80ff8da25333bac6beaff7b0cffd07b023f78e9 (diff)
Skip TestProcess#test_rlimit_nofile on LSAN
Diffstat (limited to 'test/ruby/test_process.rb')
-rw-r--r--test/ruby/test_process.rb2
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.