summaryrefslogtreecommitdiff
path: root/test/rdoc/test_rdoc_rdoc.rb
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2021-05-31 23:34:17 +0900
committeraycabta <aycabta@gmail.com>2021-05-31 23:34:40 +0900
commitc9ab8fe2b12652db7f66b71b03248a6387e378fe (patch)
treea61adf66a092fee787964c732d42ed92e8e11e8c /test/rdoc/test_rdoc_rdoc.rb
parentff6f4e631ccddb436c3c7a3a0ebf6a3f3e4b63ec (diff)
The test for command injection on Unix platforms should be omitted on Windows
Diffstat (limited to 'test/rdoc/test_rdoc_rdoc.rb')
-rw-r--r--test/rdoc/test_rdoc_rdoc.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/rdoc/test_rdoc_rdoc.rb b/test/rdoc/test_rdoc_rdoc.rb
index 7b84bb698a..bb4573554c 100644
--- a/test/rdoc/test_rdoc_rdoc.rb
+++ b/test/rdoc/test_rdoc_rdoc.rb
@@ -457,6 +457,7 @@ class TestRDocRDoc < RDoc::TestCase
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|