Skip to content

Commit e2d1b0f

Browse files
aycabtahsbt
authored andcommitted
The test for command injection on Unix platforms should be omitted on Windows
ruby/ruby@c9ab8fe
1 parent 3de56a0 commit e2d1b0f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test_rdoc_rdoc.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,7 @@ def test_remove_unparseable_tags_vim
421421
end
422422

423423
def test_remove_unparseable_CVE_2021_31799
424+
skip 'for Un*x platforms' if Gem.win_platform?
424425
temp_dir do
425426
file_list = ['| touch evil.txt && echo tags']
426427
file_list.each do |f|

0 commit comments

Comments
 (0)