summaryrefslogtreecommitdiff
path: root/test/ruby/test_process.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_process.rb')
-rw-r--r--test/ruby/test_process.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb
index 9746cf008b..e5ff7cd2c6 100644
--- a/test/ruby/test_process.rb
+++ b/test/ruby/test_process.rb
@@ -815,6 +815,7 @@ class TestProcess < Test::Unit::TestCase
Process.wait(pid)
tmp.rewind
assert_equal(pid.to_s, tmp.read)
+ tmp.close(true)
end
end