support for Rack hijack in request and response
[unicorn.git] / t / t0014-rewindable-input-true.sh
blobdd48bc68cf790ea92343cdb45453275db198e704
1 #!/bin/sh
2 . ./test-lib.sh
3 t_plan 4 "rewindable_input toggled to true"
5 t_begin "setup and start" && {
6 unicorn_setup
7 echo rewindable_input true >> $unicorn_config
8 unicorn -D -c $unicorn_config t0014.ru
9 unicorn_wait_start
12 t_begin "ensure worker is started" && {
13 test xOK = x$(curl -T t0014.ru -sSf http://$listen/)
16 t_begin "killing succeeds" && {
17 kill $unicorn_pid
20 t_begin "check stderr" && {
21 check_stderr
24 t_done