aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-08-27 10:21:23 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2022-08-27 10:22:30 -0700
commit458d49a04ab7ce8a61be11fbaf341ee252b8253a (patch)
tree237bbfae0e596b1f9777bfd94a788254cdae3e95 /test
parent4de09574e0e801fc65b378ffd18ecb959bc2f99f (diff)
downloadruby-458d49a04ab7ce8a61be11fbaf341ee252b8253a.tar.gz
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.
Diffstat (limited to 'test')
-rw-r--r--test/rubygems/helper.rb2
1 files changed, 1 insertions, 1 deletions
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