test/rubygems/test_gem_indexer.rb leaves temporary directory #431

Closed
nobu opened this Issue May 24, 2012 · 2 comments

Comments

Projects
None yet
3 participants
@nobu

nobu commented May 24, 2012

https://bugs.ruby-lang.org/issues/5348

setup in test_gem_indexer.rb changes @tempdir, so teardown fails to clean it properly.

$ mkdir ~/tmp/gemtest

$ TMPDIR=~/tmp/gemtest ./ruby test/rubygems/test_gem_indexer.rb
Run options: --seed 37319

# Running tests:

............

Finished tests in 2.380268s, 5.0414 tests/s, 50.8346 assertions/s.

12 tests, 121 assertions, 0 failures, 0 errors, 0 skips

$ ls ~/tmp/gemtest
test_rubygems_30493/

The patch is ruby/ruby@d176c4e

@cldwalker

This comment has been minimized.

Show comment Hide comment
@cldwalker

cldwalker May 24, 2012

Contributor

I think you meant to file this with rubygems the commandline tool, https://github.com/rubygems/rubygems/issues

Contributor

cldwalker commented May 24, 2012

I think you meant to file this with rubygems the commandline tool, https://github.com/rubygems/rubygems/issues

@evanphx

This comment has been minimized.

Show comment Hide comment
@evanphx

evanphx Jul 12, 2013

Owner

This is a rubygems proper issue.

Owner

evanphx commented Jul 12, 2013

This is a rubygems proper issue.

@evanphx evanphx closed this Jul 12, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment