Skip to content

Commit

Permalink
Revert "Avoid tmp/test gets expanded relative to chdir"
Browse files Browse the repository at this point in the history
This reverts commit 12f5af4.

Appears this has caused any other environment than Windows to fail.

Reverting this until further analysis.
  • Loading branch information
luislavena committed Oct 2, 2011
1 parent 12f5af4 commit 24fa1e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rubygems/test_case.rb
Expand Up @@ -120,7 +120,7 @@ def setup
@ui = Gem::MockGemUi.new

# Need to do this in the project because $SAFE fucks up _everything_
tmpdir = File.expand_path("../../../tmp/test", __FILE__)
tmpdir = File.expand_path("tmp/test")

if ENV['KEEP_FILES'] then
@tempdir = File.join(tmpdir, "test_rubygems_#{$$}.#{Time.now.to_i}")
Expand Down

0 comments on commit 24fa1e3

Please sign in to comment.