[ruby/rubygems] Explicit check file not created outside of destination
https://github.com/rubygems/rubygems/commit/1e363dbbcb
This commit is contained in:
parent
48e4dea4cd
commit
05e3d7b967
@ -584,6 +584,8 @@ class TestGemPackage < Gem::Package::TarTestCase
|
||||
|
||||
assert_equal("installing into parent path lib/link/outside.txt of " +
|
||||
"#{destination_subdir} is not allowed", e.message)
|
||||
|
||||
assert_path_not_exist File.join(@destination, "outside.txt")
|
||||
end
|
||||
|
||||
def test_extract_symlink_parent_doesnt_delete_user_dir
|
||||
|
Loading…
x
Reference in New Issue
Block a user