From 8b4e54f9792769efd69028d19eb631cdf5fc60d9 Mon Sep 17 00:00:00 2001 From: tomoya ishida Date: Mon, 18 Sep 2023 06:25:46 +0900 Subject: [ruby/irb] Test should not depend on user's irbrc file specified by ENV['IRBRC'] (https://github.com/ruby/irb/pull/717) https://github.com/ruby/irb/commit/1d2d35dd33 --- test/irb/helper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/irb/helper.rb b/test/irb/helper.rb index 9002453bb8..ede48be649 100644 --- a/test/irb/helper.rb +++ b/test/irb/helper.rb @@ -113,6 +113,7 @@ module TestIRB # Test should not depend on user's irbrc file @envs["HOME"] ||= tmp_dir @envs["XDG_CONFIG_HOME"] ||= tmp_dir + @envs["IRBRC"] = nil unless @envs.key?("IRBRC") PTY.spawn(@envs.merge("TERM" => "dumb"), *cmd) do |read, write, pid| Timeout.timeout(TIMEOUT_SEC) do -- cgit v1.2.3