[前][次][番号順一覧][スレッド一覧]

ruby-changes:54965

From: hsbt <ko1@a...>
Date: Wed, 6 Mar 2019 11:08:26 +0900 (JST)
Subject: [ruby-changes:54965] hsbt:r67171 (trunk): Skip malicious extension test with mswin platform.

hsbt	2019-03-06 11:08:20 +0900 (Wed, 06 Mar 2019)

  New Revision: 67171

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

  Log:
    Skip malicious extension test with mswin platform.

  Modified files:
    trunk/test/rubygems/test_gem_installer.rb
Index: test/rubygems/test_gem_installer.rb
===================================================================
--- test/rubygems/test_gem_installer.rb	(revision 67170)
+++ test/rubygems/test_gem_installer.rb	(revision 67171)
@@ -1498,6 +1498,8 @@ gem 'other', version https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_installer.rb#L1498
   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"

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]