[ruby-cvs:69968] naruse:r62834 (ruby_2_5): merge revision(s) 61501, 61758: [Backport #14481]

naruse at ruby-lang.org naruse at ruby-lang.org
Mon Mar 19 17:15:17 JST 2018


naruse	2018-03-19 17:15:16 +0900 (Mon, 19 Mar 2018)

  New Revision: 62834

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62834

  Log:
    merge revision(s) 61501,61758: [Backport #14481]
    
    fix concurrent test.
    
    * test/rubygems/test_require.rb (test_concurrent_require):
      Synchronizations should be in ensure clause. Sometimes
      `require` fails (not sure why) and latch is not released.
      Such case introduces unlimited awaiting.
      This patch soleve this problem.
    
    
    skip some tests so that no failure occurs in root privilege
    
    Some tests had failed on `sudo make test-all`, mainly because root can
    access any files regardless of permission.  This change adds `skip`
    guards into such tests.
    
    Note that almost all tests in which `skip` guards is added, already have
    "windows" guard.  This is because there is no support to avoid read
    access by owner on Windows.

  Modified directories:
    branches/ruby_2_5/
  Modified files:
    branches/ruby_2_5/test/dbm/test_dbm.rb
    branches/ruby_2_5/test/gdbm/test_gdbm.rb
    branches/ruby_2_5/test/irb/test_workspace.rb
    branches/ruby_2_5/test/pathname/test_pathname.rb
    branches/ruby_2_5/test/rdoc/test_rdoc_options.rb
    branches/ruby_2_5/test/rdoc/test_rdoc_rdoc.rb
    branches/ruby_2_5/test/rdoc/test_rdoc_rubygems_hook.rb
    branches/ruby_2_5/test/rubygems/test_gem.rb
    branches/ruby_2_5/test/rubygems/test_gem_commands_cleanup_command.rb
    branches/ruby_2_5/test/rubygems/test_gem_commands_install_command.rb
    branches/ruby_2_5/test/rubygems/test_gem_install_update_options.rb
    branches/ruby_2_5/test/rubygems/test_gem_installer.rb
    branches/ruby_2_5/test/rubygems/test_gem_rdoc.rb
    branches/ruby_2_5/test/rubygems/test_gem_remote_fetcher.rb
    branches/ruby_2_5/test/rubygems/test_gem_specification.rb
    branches/ruby_2_5/test/rubygems/test_require.rb
    branches/ruby_2_5/test/sdbm/test_sdbm.rb
    branches/ruby_2_5/test/test_find.rb
    branches/ruby_2_5/version.h


More information about the ruby-cvs mailing list