Skip to content

Commit

Permalink
The test for command injection on Unix platforms should be omitted on…
Browse files Browse the repository at this point in the history
… Windows

ruby/ruby@c9ab8fe
  • Loading branch information
aycabta authored and hsbt committed Sep 6, 2021
1 parent 3de56a0 commit e2d1b0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test_rdoc_rdoc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ def test_remove_unparseable_tags_vim
end

def test_remove_unparseable_CVE_2021_31799
skip 'for Un*x platforms' if Gem.win_platform?
temp_dir do
file_list = ['| touch evil.txt && echo tags']
file_list.each do |f|
Expand Down

0 comments on commit e2d1b0f

Please sign in to comment.