From bcf1fcfeb2221bd1d058c4c66a97df3bf3ca9318 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 13 Aug 2015 14:43:14 +0000 Subject: test/rubygems: clear hooks * test/rubygems/test_gem_commands_pristine_command.rb (setup): clear post_install hook to fix failures when running parallel to test_gem_commands_install_command.rb with -j option. * test/rubygems/test_gem_commands_uninstall_command.rb (setup): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/rubygems/test_gem_commands_pristine_command.rb | 2 ++ test/rubygems/test_gem_commands_uninstall_command.rb | 1 + 2 files changed, 3 insertions(+) (limited to 'test/rubygems') diff --git a/test/rubygems/test_gem_commands_pristine_command.rb b/test/rubygems/test_gem_commands_pristine_command.rb index 7c0109be2c..b12fba511d 100644 --- a/test/rubygems/test_gem_commands_pristine_command.rb +++ b/test/rubygems/test_gem_commands_pristine_command.rb @@ -5,6 +5,8 @@ class TestGemCommandsPristineCommand < Gem::TestCase def setup super + common_installer_setup + @cmd = Gem::Commands::PristineCommand.new end diff --git a/test/rubygems/test_gem_commands_uninstall_command.rb b/test/rubygems/test_gem_commands_uninstall_command.rb index 2e32e397a6..8e90325f1f 100644 --- a/test/rubygems/test_gem_commands_uninstall_command.rb +++ b/test/rubygems/test_gem_commands_uninstall_command.rb @@ -5,6 +5,7 @@ class TestGemCommandsUninstallCommand < Gem::InstallerTestCase def setup super + common_installer_setup build_rake_in do use_ui @ui do -- cgit v1.2.3