From 6e9dbcbacc489a4cf992c2cd9987c8031fa19fb3 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Wed, 29 May 2024 09:56:55 -0700 Subject: Force-skip a LOAD_PATH spec for rhel_zlinux --- spec/ruby/language/predefined_spec.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'spec/ruby') diff --git a/spec/ruby/language/predefined_spec.rb b/spec/ruby/language/predefined_spec.rb index 16647d598b..965e916b3d 100644 --- a/spec/ruby/language/predefined_spec.rb +++ b/spec/ruby/language/predefined_spec.rb @@ -881,14 +881,13 @@ describe "Execution variable $:" do it "default $LOAD_PATH entries until sitelibdir included have @gem_prelude_index set" do skip "no sense in ruby itself" if MSpecScript.instance_variable_defined?(:@testing_ruby) - skip "rhel_zlinux seems failing due to its own setup issue" if ENV['RUBYCI_NICKNAME'] == 'rhel_zlinux' $:.should.include?(RbConfig::CONFIG['sitelibdir']) idx = $:.index(RbConfig::CONFIG['sitelibdir']) $:[idx..-1].all? { |p| p.instance_variable_defined?(:@gem_prelude_index) }.should be_true $:[0...idx].all? { |p| !p.instance_variable_defined?(:@gem_prelude_index) }.should be_true - end + end if false # no sense in ruby itself. skip is not working for rhel_zlinux for some reason end describe "Global variable $\"" do -- cgit v1.2.3