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_installer.rb

(TestGemInstaller#test_check_executable_overwrite_other_non_gem):
  on Windows, rubygems always generate a wrapper .bat file when
  installing a file into bin, so testing no-overwrite a wrapper file
  and a non-wrapper file is nonsence.  see [ruby-core:50388].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2012-11-30 15:11:30 +00:00
parent b688029ae8
commit a847bedb1d
2 changed files with 10 additions and 1 deletions

View file

@ -1,9 +1,18 @@
Sat Dec 1 00:08:55 2012 NAKAMURA Usaku <usa@ruby-lang.org>
* test/rubygems/test_gem_installer.rb
(TestGemInstaller#test_check_executable_overwrite_other_non_gem):
on Windows, rubygems always generate a wrapper .bat file when
installing a file into bin, so testing no-overwrite a wrapper file
and a non-wrapper file is nonsence. see [ruby-core:50388].
Fri Nov 30 23:39:58 2012 NAKAMURA Usaku <usa@ruby-lang.org>
* test/rubygems/test_gem_installer.rb
(TestGemInstaller#test_check_executable_overwrite_default_bin_dir):
if the executable to be overwritten was generated by rubygems, the
error messsage differs from the only copied one's.
see [ruby-core:50388].
Fri Nov 30 23:27:26 2012 NAKAMURA Usaku <usa@ruby-lang.org>

View file

@ -229,7 +229,7 @@ load Gem.bin_path('a', 'executable', version)
wrapper = File.read installed_exec
assert_match %r|generated by RubyGems|, wrapper
end
end unless Gem.win_platform?
def test_ensure_dependency
quick_spec 'a'