# File test/test_multi_process.rb, line 44 def test_io_passing if (pid = fork) then @s2.close io_passing_parent else @s1.close io_passing_child exit!(0) end assert_equal(0, Process.waitpid2(pid)[1].exitstatus) end