1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/rubygems/test_gem_specification.rb: skip tests which the

platform does not permit the filename of its test file.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2015-07-02 03:00:23 +00:00
parent f7124a2ca3
commit ad0c146668
2 changed files with 23 additions and 6 deletions

View file

@ -1,3 +1,8 @@
Thu Jul 2 11:58:59 2015 NAKAMURA Usaku <usa@ruby-lang.org>
* test/rubygems/test_gem_specification.rb: skip tests which the
platform does not permit the filename of its test file.
Thu Jul 2 11:36:20 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* test/rubygems/test_gem_resolver_git_specification.rb: require

View file

@ -942,9 +942,13 @@ dependencies: []
@a2.name = 'a};raise "improper escaping";%q{'
full_path = @a2.spec_file
begin
write_file full_path do |io|
io.write @a2.to_ruby_for_cache
end
rescue Errno::EINVAL
skip "cannot create '#{full_path}' on this platform"
end
spec = Gem::Specification.load full_path
@ -957,9 +961,13 @@ dependencies: []
@a2.name = 'a#{raise %<improper escaping>}'
full_path = @a2.spec_file
begin
write_file full_path do |io|
io.write @a2.to_ruby_for_cache
end
rescue Errno::EINVAL
skip "cannot create '#{full_path}' on this platform"
end
spec = Gem::Specification.load full_path
@ -972,9 +980,13 @@ dependencies: []
@a2.name = 'a";raise "improper escaping";"'
full_path = @a2.spec_file
begin
write_file full_path do |io|
io.write @a2.to_ruby_for_cache
end
rescue Errno::EINVAL
skip "cannot create '#{full_path}' on this platform"
end
spec = Gem::Specification.load full_path