Skip to content

Commit 42bbe9a

Browse files
committed
Skip TestProcess#test_rlimit_nofile on LSAN
1 parent c80ff8d commit 42bbe9a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/ruby/test_process.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ def rlimit_exist?
5858

5959
def test_rlimit_nofile
6060
return unless rlimit_exist?
61+
omit "LSAN needs to open proc file" if Test::Sanitizers.lsan_enabled?
62+
6163
with_tmpchdir {
6264
File.write 's', <<-"End"
6365
# Too small RLIMIT_NOFILE, such as zero, causes problems.

0 commit comments

Comments
 (0)