[ruby-cvs:68939] mame:r61758 (trunk): skip some tests so that no failure occurs in root privilege

mame at ruby-lang.org mame at ruby-lang.org
Wed Jan 10 19:39:09 JST 2018


mame	2018-01-10 19:39:09 +0900 (Wed, 10 Jan 2018)

  New Revision: 61758

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

  Log:
    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 files:
    trunk/test/dbm/test_dbm.rb
    trunk/test/gdbm/test_gdbm.rb
    trunk/test/irb/test_workspace.rb
    trunk/test/pathname/test_pathname.rb
    trunk/test/rdoc/test_rdoc_options.rb
    trunk/test/rdoc/test_rdoc_rdoc.rb
    trunk/test/rdoc/test_rdoc_rubygems_hook.rb
    trunk/test/rubygems/test_gem.rb
    trunk/test/rubygems/test_gem_commands_cleanup_command.rb
    trunk/test/rubygems/test_gem_commands_install_command.rb
    trunk/test/rubygems/test_gem_install_update_options.rb
    trunk/test/rubygems/test_gem_installer.rb
    trunk/test/rubygems/test_gem_rdoc.rb
    trunk/test/rubygems/test_gem_remote_fetcher.rb
    trunk/test/rubygems/test_gem_specification.rb
    trunk/test/sdbm/test_sdbm.rb
    trunk/test/test_find.rb


More information about the ruby-cvs mailing list