mirror of
https://github.com/ruby/ruby.git
synced 2025-08-16 05:59:00 +02: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
|
end
|
||||||
|
|
||||||
def test_remove_unparseable_CVE_2021_31799
|
def test_remove_unparseable_CVE_2021_31799
|
||||||
|
omit 'for Un*x platforms' if Gem.win_platform?
|
||||||
temp_dir do
|
temp_dir do
|
||||||
file_list = ['| touch evil.txt && echo tags']
|
file_list = ['| touch evil.txt && echo tags']
|
||||||
file_list.each do |f|
|
file_list.each do |f|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue