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:
parent
ff6f4e631c
commit
c9ab8fe2b1
1 changed files with 1 additions and 0 deletions
|
@ -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|
|
||||
|
|
Loading…
Add table
Reference in a new issue