From 458d49a04ab7ce8a61be11fbaf341ee252b8253a Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Sat, 27 Aug 2022 10:21:23 -0700 Subject: Ignore rm -rf failure http://ci.rvm.jp/results/trunk-mjit@phosphorus-docker/4213386 It's failing with: rm: cannot remove '/tmp/ruby/v3/build/trunk-mjit/tmp/test_rubygems_20220827-13666-ii8lcp': Directory not empty rm: cannot remove '/tmp/ruby/v3/build/trunk-mjit/tmp/test_rubygems_20220827-13666-fy77y1': Directory not empty I'd like to make sure the following `ENV.replace` is called and see if there's any other issues. --- test/rubygems/helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/rubygems/helper.rb b/test/rubygems/helper.rb index b9bc72a1f3..23ea69ae0b 100644 --- a/test/rubygems/helper.rb +++ b/test/rubygems/helper.rb @@ -467,7 +467,7 @@ class Gem::TestCase < Test::Unit::TestCase # FileUtils.rm_rf randomly fails on ci.rvm.jp trunk-mjit if ENV['RUBY_DEBUG']&.include?('ci') - system('rm', '-rf', @tempdir.shellescape, exception: true) + system('rm', '-rf', @tempdir) else FileUtils.rm_rf @tempdir end -- cgit v1.2.3