aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_installer.rb
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-03-06 02:08:20 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-03-06 02:08:20 +0000
commitd4303528d39d38ae2141f13064e82a7908df4f14 (patch)
tree3b0d6f5b9f883194eba91e968e584d9c7634a159 /test/rubygems/test_gem_installer.rb
parentad398b7e0c857cbaaf469f44759e163159b60148 (diff)
downloadruby-d4303528d39d38ae2141f13064e82a7908df4f14.tar.gz
Skip malicious extension test with mswin platform.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems/test_gem_installer.rb')
-rw-r--r--test/rubygems/test_gem_installer.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/rubygems/test_gem_installer.rb b/test/rubygems/test_gem_installer.rb
index b16404f2b9..163867cdf1 100644
--- a/test/rubygems/test_gem_installer.rb
+++ b/test/rubygems/test_gem_installer.rb
@@ -1498,6 +1498,8 @@ gem 'other', version
end
def test_pre_install_checks_malicious_extensions_before_eval
+ skip "mswin environment disallow to create file contained the carriage return code." if Gem.win_platform?
+
spec = util_spec "malicious", '1'
def spec.full_name # so the spec is buildable
"malicious-1"