Fix RubyGems test suite.

This commit is contained in:
Vít Ondruch 2013-12-19 12:26:37 +01:00
parent 360d2b99cd
commit 453497595c

View File

@ -593,6 +593,10 @@ sed -i '/Process.constants.grep(\/\\ACLOCK_\/).each {|n|/ s/$/\n next if [:
test/ruby/test_process.rb test/ruby/test_process.rb
%endif %endif
# Fix "Could not find 'minitest'" error.
# http://bugs.ruby-lang.org/issues/9259
sed -i "/^ gem 'minitest', '~> 4.0'/ s/^/#/" lib/rubygems/test_case.rb
# Errno::EINVAL: Invalid argument - recvmsg(2) # Errno::EINVAL: Invalid argument - recvmsg(2)
# Looks to be a problem of Linux 3.12+ and should be possible to remove as soon # Looks to be a problem of Linux 3.12+ and should be possible to remove as soon
# as Koji builders run fixed kerenel. # as Koji builders run fixed kerenel.