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