coolio+xepoll_thread*: use shutdown() for keepalive timeout
[rainbows.git] / t / t0113-rewindable-input-false.sh
blob6eb2fda468bfd12259c2b499b69beec8d4f8fe8f
1 #!/bin/sh
2 . ./test-lib.sh
3 skip_models EventMachine NeverBlock
4 skip_models Rev RevThreadSpawn RevThreadPool
5 skip_models Coolio CoolioThreadSpawn CoolioThreadPool
6 skip_models Epoll XEpoll
8 t_plan 4 "rewindable_input toggled to false"
10 t_begin "setup and start" && {
11 rainbows_setup
12 echo rewindable_input false >> $unicorn_config
13 rainbows -D -c $unicorn_config t0113.ru
14 rainbows_wait_start
17 t_begin "ensure worker is started" && {
18 test xOK = x$(curl -T t0113.ru -H Expect: -vsSf http://$listen/)
21 t_begin "killing succeeds" && {
22 kill $rainbows_pid
25 t_begin "check stderr" && {
26 check_stderr
29 t_done