Bug #4815
closedRubyGems test failed
Description
Following tests are failed.
This is because $LOAD_PATH includes the current directory which test-all is running,
and top source directory of ruby has the directory named "missing".
So test_execute_one_missing and test_execute_missing, they check the absence of "missing" directory, are failed.
-
Failure:
test_execute_one_missing(TestGemCommandsWhichCommand) [/usr/home/chkbuild/build/ruby-trunk/20110602T010101Z/ruby/test/rubygems/test_gem_commands_which_command.rb:42]:
--- expected
+++ actual
@@ -1,2 +1,3 @@
"/usr/home/chkbuild/build/ruby-trunk/20110602T010101Z/tmp/test_rubygems_93491/gemhome/gems/foo_bar-2/lib/foo_bar.rb
+/usr/home/chkbuild/build/ruby-trunk/20110602T010101Z/ruby/missing
" -
Failure:
test_execute_missing(TestGemCommandsWhichCommand) [/usr/home/chkbuild/build/ruby-trunk/20110602T010101Z/ruby/test/rubygems/test_gem_commands_which_command.rb:51]:
Gem::MockGemUi::TermError expected but nothing was raised.
Updated by naruse (Yui NARUSE) almost 13 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r31915.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
- test/rubygems/test_gem_commands_which_command.rb:
"missing" exists on ruby's top source directory. [Bug #4815]