diff options
author | Hiroshi SHIBATA <[email protected]> | 2020-07-31 14:02:42 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2020-07-31 21:07:19 +0900 |
commit | 0e2d8c487c42aa311d329d1f44963cf002e0e598 (patch) | |
tree | b57d5ac8d4f8d69cead6d220c384a33fc17ab5d2 /lib/rubygems | |
parent | aa4ecfe7f7e69a2c477dd9e0cc8ffbe482bbe4cb (diff) |
[rubygems/rubygems] unset XDG_* environmental variables for testing of rubygems.
https://github.com/rubygems/rubygems/commit/539fd9a39a
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3379
Diffstat (limited to 'lib/rubygems')
-rw-r--r-- | lib/rubygems/test_case.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/rubygems/test_case.rb b/lib/rubygems/test_case.rb index 69f6e6d8b9..7bf7142a45 100644 --- a/lib/rubygems/test_case.rb +++ b/lib/rubygems/test_case.rb @@ -296,6 +296,9 @@ class Gem::TestCase < Minitest::Test ENV['GEM_VENDOR'] = nil ENV['GEMRC'] = nil + ENV['XDG_CACHE_HOME'] = nil + ENV['XDG_CONFIG_HOME'] = nil + ENV['XDG_DATA_HOME'] = nil ENV['SOURCE_DATE_EPOCH'] = nil ENV["TMPDIR"] = @tmp |