summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_uninstaller.rb
diff options
context:
space:
mode:
authorJosef Šimánek <josef.simanek@gmail.com>2020-04-19 00:50:28 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-05-08 14:13:29 +0900
commita0c4d14acfa17877d6c1d58e5960513f152b493c (patch)
tree3d3670ee48f69650ef75431ce44bba8138e7a882 /test/rubygems/test_gem_uninstaller.rb
parent3315ce69044b511c7fe5d462985756a7948e95d1 (diff)
[rubygems/rubygems] Fix symlink RubyGems test problems for non-admin user.
https://github.com/rubygems/rubygems/commit/75f672ff0e
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3092
Diffstat (limited to 'test/rubygems/test_gem_uninstaller.rb')
-rw-r--r--test/rubygems/test_gem_uninstaller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/rubygems/test_gem_uninstaller.rb b/test/rubygems/test_gem_uninstaller.rb
index 9a98c1e590..9229fee842 100644
--- a/test/rubygems/test_gem_uninstaller.rb
+++ b/test/rubygems/test_gem_uninstaller.rb
@@ -154,6 +154,8 @@ class TestGemUninstaller < Gem::InstallerTestCase
end
def test_remove_symlinked_gem_home
+ skip "Symlinks not supported or not enabled" unless symlink_supported?
+
Dir.mktmpdir("gem_home") do |dir|
symlinked_gem_home = "#{dir}/#{File.basename(@gemhome)}"