diff options
| author | Takashi Kokubun <takashikkbn@gmail.com> | 2024-05-29 09:56:55 -0700 |
|---|---|---|
| committer | Takashi Kokubun <takashikkbn@gmail.com> | 2024-05-29 09:56:55 -0700 |
| commit | 6e9dbcbacc489a4cf992c2cd9987c8031fa19fb3 (patch) | |
| tree | 8d06e128d7a724ee7088bb2699f9dfafa04b9a63 /spec/ruby | |
| parent | 3cab9b997945ba5d3d06b374d5e12e07293f8e73 (diff) | |
Force-skip a LOAD_PATH spec for rhel_zlinux
Diffstat (limited to 'spec/ruby')
| -rw-r--r-- | spec/ruby/language/predefined_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
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 |
