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 d9b7403746
commit 3381fa5458
Notes: git 2021-10-05 01:43:44 +09:00
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