ev_core: force input to be given to app_call
[rainbows.git] / t / t0113-rewindable-input-false.sh
blob82b0fb7905e1dbe4f2bbbab4dbe64a56992ca872
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
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