3 t_plan
5 "rack.hijack tests (Rack 1.5+ (Rack::VERSION >= [ 1,2]))"
5 t_begin
"setup and start" && {
7 unicorn
-D -c $unicorn_config hijack.ru
11 t_begin
"check request hijack" && {
12 test "xrequest.hijacked" = x
"$(curl -sSfv http://$listen/hijack_req)"
15 t_begin
"check response hijack" && {
16 test "xresponse.hijacked" = x
"$(curl -sSfv http://$listen/hijack_res)"
19 t_begin
"killing succeeds" && {
23 t_begin
"check stderr" && {