[Bug #941] ignores SIGQUIT on FreeBSD 7.1


#1

Bug #941: ignores SIGQUIT on FreeBSD 7.1
http://redmine.ruby-lang.org/issues/show/941

e$B5/I<<Te(B: Yui NARUSE
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Normal
e$B%+%F%4%je(B: core, Target version: 1.9.1 Release Candidate

FreeBSD 7.1-PRERELEASE amd64 e$B$K$F!"e(BSIGQUIT
e$B$rL5;k$7$F$7$^$&$h$&$G$9!#e(B

  1. 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.

e$B=q$-49$($k$H0J2<$NDL$je(B

% 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>

e$B$J$*!"e(Bspawn(“perl” e$B$K=q$-49$($k$H$A$c$s$H;&$;$^$9e(B


#2

e$B%A%1%C%He(B #941 e$B$,99?7$5$l$^$7$?!#e(B (by Yui NARUSE)

e$B%9%F!<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B
e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B

Applied in changeset r21265.

http://redmine.ruby-lang.org/issues/show/941