From 573896a40ac25bd9febb2bbc0502b43ef36f9b9b Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sat, 8 Nov 2025 11:05:17 +0900 Subject: Box: remove copied extension files --- test/ruby/test_box.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'test/ruby') diff --git a/test/ruby/test_box.rb b/test/ruby/test_box.rb index c52c7564ae..2e4e07a86a 100644 --- a/test/ruby/test_box.rb +++ b/test/ruby/test_box.rb @@ -697,10 +697,6 @@ class TestBox < Test::Unit::TestCase assert !$LOADED_FEATURES.include?("/tmp/barbaz") assert !Object.const_defined?(:FooClass) end; - ensure - tmp = ENV["TMPDIR"] || ENV["TMP"] || Etc.systmpdir || "/tmp" - pat = "_ruby_ns_*."+RbConfig::CONFIG["DLEXT"] - File.unlink(*Dir.glob(pat, base: tmp).map {|so| "#{tmp}/#{so}"}) end def test_basic_box_detections -- cgit v1.2.3