1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Only rescue realpath calls during require on Solaris

Remove temporary skip of test_no_curdir to see if this fixes the
problem.
This commit is contained in:
Jeremy Evans 2021-10-04 07:44:51 -07:00
parent bfd2f159f0
commit 84e8e2a39b
2 changed files with 1 additions and 4 deletions

2
load.c
View file

@ -1060,7 +1060,7 @@ rb_ext_ractor_safe(bool flag)
GET_THREAD()->ext_config.ractor_safe = flag;
}
#if 1
#ifdef __sun
static VALUE
required_feature__realpath(VALUE path)
{

View file

@ -1732,9 +1732,6 @@ class TestProcess < Test::Unit::TestCase
end
def test_no_curdir
if /solaris/i =~ RUBY_PLATFORM
skip "Temporary skip to avoid CI failures after commit to use realpath on required files"
end
with_tmpchdir {|d|
Dir.mkdir("vd")
status = nil