initial edge-triggered epoll model
[rainbows.git] / t / t0114-rewindable-input-true.sh
blobfd8561c075b223481918618b8ed3049c1842c263
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 true"
10 t_begin "setup and start" && {
11 rainbows_setup
12 echo rewindable_input true >> $unicorn_config
13 rainbows -D -c $unicorn_config t0114.ru
14 rainbows_wait_start
17 t_begin "ensure worker is started" && {
18 test xOK = x$(curl -T t0114.ru -sSf http://$listen/)
21 t_begin "killing succeeds" && {
22 kill $rainbows_pid
25 t_begin "check stderr" && {
26 check_stderr
29 t_done