Actions
Bug #941
closedignores SIGQUIT on FreeBSD 7.1
Description
=begin
FreeBSD 7.1-PRERELEASE amd64 にて、SIGQUIT を無視してしまうようです。
- Failure:
test_status_kill(TestProcess) [test/ruby/test_process.rb:941]:
Expected ["#<Process::Status: pid 53404 SIGQUIT (signal )>",
"#<Process::Status: pid 53404 SIGQUIT (signal ) (core dumped)>"].include?(*["#<Process::Status: pid 53404 exit 0>"]) to return true.
書き換えると以下の通り
% cat wait.rb
sleep 10;
print "finished\n";
% ruby19 -e'pid=spawn("ruby19","wait.rb"); Thread.new{sleep 3; Process.kill(:SIGQUIT, pid) }; Process.wait(pid);;p $?'
finished
#<Process::Status: pid 53220 exit 0>
なお、spawn("perl" に書き換えるとちゃんと殺せます
=end
Updated by yugui (Yuki Sonoda) almost 16 years ago
- Target version changed from 1.9.1 Release Candidate to 1.9.1 RC2
=begin
=end
Updated by naruse (Yui NARUSE) almost 16 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
Applied in changeset r21265.
=end
Actions
Like0
Like0Like0