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