1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

The test for command injection on Unix platforms should be omitted on Windows

This commit is contained in:
aycabta 2021-05-31 23:34:17 +09:00
parent ff6f4e631c
commit c9ab8fe2b1

View file

@ -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|