respect "rewindable_input false" in Unicorn config
[rainbows.git] / t / t0113-rewindable-input-false.sh
blobc906106838a1c6b5fa72c4bbb95c9a4249432da5
1 #!/bin/sh
2 . ./test-lib.sh
3 skip_models EventMachine NeverBlock Rev RevThreadSpawn RevThreadPool
5 t_plan 4 "rewindable_input toggled to false"
7 t_begin "setup and start" && {
8 rainbows_setup
9 echo rewindable_input false >> $unicorn_config
10 rainbows -D -c $unicorn_config t0113.ru
11 rainbows_wait_start
14 t_begin "ensure worker is started" && {
15 test xOK = x$(curl -T t0113.ru -H Expect: -vsSf http://$listen/)
18 t_begin "killing succeeds" && {
19 kill $rainbows_pid
22 t_begin "check stderr" && {
23 check_stderr
26 t_done