Project

General

Profile

Actions

Bug #5348

closed

test/rubygems/test_gem_indexer.rb leaves temporary directory

Added by nobu (Nobuyoshi Nakada) about 13 years ago. Updated over 12 years ago.

Status:
Closed
Target version:
ruby -v:
r33303
Backport:
[ruby-core:39662]

Description

=begin
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/
=end

Actions #1

Updated by nobu (Nobuyoshi Nakada) over 12 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r35777.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


Bug #5348

  • test/rubygems/test_gem_indexer.rb (setup, teardown): save @tempdir
    to remove it properly. [Bug #5348]
Actions

Also available in: Atom PDF

Like0
Like0