4 # FIXME: fork + Fibers segfaults: https://redmine.ruby-lang.org/issues/5700
5 skip_models NeverBlock FiberSpawn FiberPool CoolioFiberSpawn
7 t_plan
8 "SIGCHLD handling for $model"
9 t_begin
"setup and startup" && {
12 zbatery
-D sigchld.ru
-c $unicorn_config
16 t_begin
"backtick" && {
17 test xhi
= x
"$(curl -sSf http://$listen/backtick)"
21 test xtrue
= x
"$(curl -sSf http://$listen/system)"
24 t_begin
"fork_ignore" && {
25 test xFixnum
= x
"$(curl -sSf http://$listen/fork_ignore)"
28 t_begin
"fork_wait" && {
29 test xtrue
= x
"$(curl -sSf http://$listen/fork_wait)"
33 test xpopen
= x
"$(curl -sSf http://$listen/popen)"
36 t_begin
"shutdown server" && {
37 kill -QUIT $zbatery_pid
42 t_begin
"check stderr" && check_stderr