Forum: Ruby-core [ruby-trunk - Bug #7885][Assigned] Build failure: test_initialize_user_install issues under Windows

Posted by Luis Lavena (luislavena)
on 2013-02-19 17:50
(Received via mailing list)
Issue #7885 has been reported by luislavena (Luis Lavena).

----------------------------------------
Bug #7885: Build failure: test_initialize_user_install issues under 
Windows
https://bugs.ruby-lang.org/issues/7885

Author: luislavena (Luis Lavena)
Status: Assigned
Priority: Normal
Assignee: drbrain (Eric Hodel)
Category: test
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2013-02-19 trunk 39320) [x64-mingw32]


=begin

Latest changes to RubyGems into ruby_2_0_0 branch are causing failures 
in RubyInstaller CI:

http://ci.rubyinstaller.org/job/ruby-2_0_0-x64-tes...
http://ci.rubyinstaller.org/job/ruby-2_0_0-x86-tes...

   1) Failure:
 test_initialize_user_install(TestGemInstaller) 
[C:/Users/Worker/Jenkins/workspace/ruby-2_0_0-x64-build/test/rubygems/test_gem_installer.rb:672]:
 --- expected
 +++ actual
 @@ -1 +1 @@
 -"C:/Users/Worker/AppData/Local/Temp/test_rubygems_2320/userhome/.gem/ruby/2.0.0/bin"
 +"C:\\Users\\Worker\\AppData\\Local\\Temp\\test_rubygems_2320\\userhome\\.gem\\ruby\\2.0.0\\bin"

Seems that the path obtained is not converted to posix like (via 
File.expand_path) or the expected value turned into the 
native-compatible one.

=end
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.