test/rubygems: remove tempfiles

* test/rubygems/test_gem_package_tar_header.rb: remove tempfiles.
* test/rubygems/test_gem_package_tar_reader.rb: ditto.
* test/rubygems/test_gem_package_tar_reader_entry.rb (teardown):
  ditto.
* test/rubygems/test_gem_package_tar_writer.rb (teardown): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
test/rdoc: avoid tempfile leaks

* test/rubygems/test_gem_package.rb: avoid tempfile leaks by using
  `Tempfile.create` instead of `Tempfile.open`.
* test/rubygems/test_gem_request_set.rb: ditto.
* test/rubygems/test_gem_request_set_gem_dependency_api.rb: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ext_conf_builder.rb: fix tempfile leak

* lib/rubygems/ext/ext_conf_builder.rb (build): ensure to remove
  temporary siteconf script.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
test/unit.rb: reduce error messages

* test/lib/test/unit.rb (non_options): reduce same error messages.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e