diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-11-08 11:05:17 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu.nakada@gmail.com> | 2025-12-09 23:41:50 +0900 |
| commit | 573896a40ac25bd9febb2bbc0502b43ef36f9b9b (patch) | |
| tree | bc893ac96eedf12685e42fe63fe35ad734d01c0b /test/ruby | |
| parent | e8568bbcf20fafcb82d8b537b99762528dfbdc3e (diff) | |
Box: remove copied extension files
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_box.rb | 4 |
1 files changed, 0 insertions, 4 deletions
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 |
