initial cool.io support
[rainbows.git] / t / t0113-rewindable-input-false.sh
blob1ab79bf6d854c925d779fb15921f895a9127c7cb
1 #!/bin/sh
2 . ./test-lib.sh
3 skip_models EventMachine NeverBlock
4 skip_models Rev RevThreadSpawn RevThreadPool
5 skip_models Coolio CoolioThreadSpawn CoolioThreadPool
7 t_plan 4 "rewindable_input toggled to false"
9 t_begin "setup and start" && {
10 rainbows_setup
11 echo rewindable_input false >> $unicorn_config
12 rainbows -D -c $unicorn_config t0113.ru
13 rainbows_wait_start
16 t_begin "ensure worker is started" && {
17 test xOK = x$(curl -T t0113.ru -H Expect: -vsSf http://$listen/)
20 t_begin "killing succeeds" && {
21 kill $rainbows_pid
24 t_begin "check stderr" && {
25 check_stderr
28 t_done