skip echo foo
on Solaris
On Solaris, it seems to access ENV in ``, so skip it now. ``` stderr output is not empty Exception `NameError' at bootstraptest.tmp.rb:7 - can not access non-sharable objects in constant Object::ENV by non-main Ractor. #<Thread:0x0044cdf0 run> terminated with exception (report_on_exception is true): bootstraptest.tmp.rb:7:in ``': can not access non-sharable objects in constant Object::ENV by non-main Ractor. (NameError) Exception `Ractor::RemoteError' at <internal:ractor>:130 - thrown by remote Ractor. <internal:ractor>:130:in `take': thrown by remote Ractor. (Ractor::RemoteError) from bootstraptest.tmp.rb:55:in `<main>' bootstraptest.tmp.rb:7:in ``': can not access non-sharable objects in constant Object::ENV by non-main Ractor. (NameError) from bootstraptest.tmp.rb:7:in `ractor_local_globals' from bootstraptest.tmp.rb:54:in `block in <main>' ```
This commit is contained in:
parent
18cecda46e
commit
67c25a34a7
@ -618,7 +618,7 @@ assert_equal 'true', %q{
|
||||
|
||||
def ractor_local_globals
|
||||
/a(b)(c)d/ =~ 'abcd' # for $~
|
||||
`echo foo`
|
||||
`echo foo` unless /solaris/ !~ RUBY_PLATFORM
|
||||
|
||||
{
|
||||
# ractor-local (derived from created ractor): debug
|
||||
|
Loading…
x
Reference in New Issue
Block a user