summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2022-03-01 12:11:15 +0900
committernagachika <nagachika@ruby-lang.org>2022-05-18 10:02:42 +0900
commitb5ef64a8a129919e035c4499e946c83b22ad0101 (patch)
tree1802178cd4fd083d9ec087b890a4d261d1a323ba /test
parent1a6a608ae0dbd389b62fcfc95867418960800f5e (diff)
Merge RubyGems-3.3.8 and Bundler-2.3.8
Diffstat (limited to 'test')
-rw-r--r--test/rubygems/test_gem_commands_setup_command.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/rubygems/test_gem_commands_setup_command.rb b/test/rubygems/test_gem_commands_setup_command.rb
index 5cf94a1dc9..934c76b1d1 100644
--- a/test/rubygems/test_gem_commands_setup_command.rb
+++ b/test/rubygems/test_gem_commands_setup_command.rb
@@ -274,6 +274,8 @@ class TestGemCommandsSetupCommand < Gem::TestCase
spec.executables.each do |e|
assert_path_exist File.join destdir, @gemhome.gsub(/^[a-zA-Z]:/, ''), 'gems', spec.full_name, spec.bindir, e
end
+ ensure
+ FileUtils.chmod "+w", @gemhome
end
def test_install_default_bundler_gem_with_destdir_and_prefix_flags