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

ruby-changes:66376

From: aycabta <ko1@a...>
Date: Mon, 31 May 2021 23:34:42 +0900 (JST)
Subject: [ruby-changes:66376] c9ab8fe2b1 (master): The test for command injection on Unix platforms should be omitted on Windows

https://git.ruby-lang.org/ruby.git/commit/?id=c9ab8fe2b1

From c9ab8fe2b12652db7f66b71b03248a6387e378fe Mon Sep 17 00:00:00 2001
From: aycabta <aycabta@g...>
Date: Mon, 31 May 2021 23:34:17 +0900
Subject: The test for command injection on Unix platforms should be omitted on
 Windows

---
 test/rdoc/test_rdoc_rdoc.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/rdoc/test_rdoc_rdoc.rb b/test/rdoc/test_rdoc_rdoc.rb
index 7b84bb6..bb45735 100644
--- a/test/rdoc/test_rdoc_rdoc.rb
+++ b/test/rdoc/test_rdoc_rdoc.rb
@@ -457,6 +457,7 @@ class TestRDocRDoc < RDoc::TestCase https://github.com/ruby/ruby/blob/trunk/test/rdoc/test_rdoc_rdoc.rb#L457
   end
 
   def test_remove_unparseable_CVE_2021_31799
+    omit 'for Un*x platforms' if Gem.win_platform?
     temp_dir do
       file_list = ['| touch evil.txt && echo tags']
       file_list.each do |f|
-- 
cgit v1.1


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

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