mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 12:34:21 +00:00
Force-skip a LOAD_PATH spec for rhel_zlinux
This commit is contained in:
parent
3cab9b9979
commit
6e9dbcbacc
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user