From 21e2fcd0b21ca7c76c5e46241be37a0c2dd166d4 Mon Sep 17 00:00:00 2001 From: Daniel Niknam Date: Sun, 8 Aug 2021 17:27:47 +1000 Subject: [PATCH] Exclude truffleruby from the test for failure of operating_system.rb truffleruby does not raise any error when requiring `rubygems`. --- test/rubygems/test_rubygems.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/rubygems/test_rubygems.rb b/test/rubygems/test_rubygems.rb index fc2fb32f5a20..9aa6c20cf52f 100644 --- a/test/rubygems/test_rubygems.rb +++ b/test/rubygems/test_rubygems.rb @@ -7,6 +7,8 @@ def test_rubygems_normal_behaviour end def test_operating_system_other_exceptions + pend "does not apply to truffleruby" if RUBY_ENGINE == 'truffleruby' + path = util_install_operating_system_rb <<-RUBY intentional synt'ax error RUBY