https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17113305112011-05-30T20:23:06ZRuby Issue Tracking SystemRuby master - Bug #4798: test_process and test_signal errors and halts on Windowshttps://redmine.ruby-lang.org/issues/4798?journal_id=173412011-05-30T20:23:06Zkosaki (Motohiro KOSAKI)kosaki.motohiro@gmail.com
<ul><li><strong>ruby -v</strong> changed from <i>ruby 1.9.3dev (2011-05-29 trunk 31779) [i386-mingw32]</i> to <i>-</i></li></ul><blockquote>
<p>C:/Users/Luis/Projects/oss/ruby/test/ruby/test_signal.rb:205: warning: cannot close fd before spawn</p>
<p>And the second one stalls there until Ctrl+C is been hit, aborting the execution of other tests.</p>
<p>test_signal.rb:205 (test_signal_requiring) specially excludes mswin and mingw tests, but seems is actually not being skipped.</p>
</blockquote>
<p>Because, following line has typo.</p>
<pre><code> skip "limitation of GenerateConsoleCtrlEvent()" if /mswin|mignw/
</code></pre>
<p>=~ RUBY_PLATFORM</p>
<p>you need s/mignw/mingw/ fix. I think.<br>
Unfortunately, I don't have mingw test environment. I hope you commit it.</p>
<p>Thanks.</p> Ruby master - Bug #4798: test_process and test_signal errors and halts on Windowshttps://redmine.ruby-lang.org/issues/4798?journal_id=173422011-05-30T20:23:37Zusa (Usaku NAKAMURA)usa@garbagecollect.jp
<ul><li><strong>Status</strong> changed from <i>Open</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 r31824.<br>
Luis, 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_signal.rb (TestSignal#test_signal_requiring): small<br>
but critical typo of r31642. sorry...<br>
[Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: test_process and test_signal errors and halts on Windows (Closed)" href="https://redmine.ruby-lang.org/issues/4798">#4798</a>] <a href="/issues/4798">[ruby-core:36550]</a></li>
</ul> Ruby master - Bug #4798: test_process and test_signal errors and halts on Windowshttps://redmine.ruby-lang.org/issues/4798?journal_id=173502011-05-31T00:53:07Zluislavena (Luis Lavena)luislavena@gmail.com
<ul></ul><p>On Mon, May 30, 2011 at 7:08 AM, KOSAKI Motohiro<br>
<a href="mailto:kosaki.motohiro@gmail.com" class="email">kosaki.motohiro@gmail.com</a> wrote:</p>
<blockquote>
<p>Because, following line has typo.</p>
<p>Â Â skip "limitation of GenerateConsoleCtrlEvent()" if /mswin|mignw/</p>
</blockquote>