https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112013-02-06T09:21:30ZRuby Issue Tracking SystemRuby master - Bug #7789: test_setsid fails for OpenBSDhttps://bugs.ruby-lang.org/issues/7789?journal_id=358752013-02-06T09:21:30Zkosaki (Motohiro KOSAKI)kosaki.motohiro@gmail.com
<ul><li><strong>Category</strong> set to <i>core</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Assigned</i></li><li><strong>Assignee</strong> set to <i>kosaki (Motohiro KOSAKI)</i></li><li><strong>Target version</strong> set to <i>2.0.0</i></li></ul> Ruby master - Bug #7789: test_setsid fails for OpenBSDhttps://bugs.ruby-lang.org/issues/7789?journal_id=358852013-02-06T15:37:03Zkosaki (Motohiro KOSAKI)kosaki.motohiro@gmail.com
<ul></ul><blockquote>
<p>The only fix is to skip the Process::getsid(pid) in the test. I wrote a patch for this.</p>
</blockquote>
<p>OK. I agree with skipping test. But I would like to just skip instead of your approach.</p>
<blockquote>
<p>While I am looking at this test, I see that it calls Process.kill(:KILL, io.pid) but never reaps the zombie process. Shouldn't it call > Process.wait(io.pid) after that?</p>
</blockquote>
<p>Yeah! You are right. I'll fix this.</p> Ruby master - Bug #7789: test_setsid fails for OpenBSDhttps://bugs.ruby-lang.org/issues/7789?journal_id=358862013-02-06T15:37:21Zkosaki (Motohiro KOSAKI)kosaki.motohiro@gmail.com
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>This issue was solved with changeset r39097.<br>
George, thank you for reporting this issue.<br>
Your contribution to Ruby is greatly appreciated.<br>
May Ruby be with you.</p>
<hr>
<ul>
<li>test/ruby/test_process.rb (test_setsid): skip when platform is<br>
OpenBSD. Contributed from George Koehler.<br>
[Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: test_setsid fails for OpenBSD (Closed)" href="https://bugs.ruby-lang.org/issues/7789">#7789</a>] <a href="/issues/7789">[ruby-core:51889]</a></li>
</ul>