t0501: fix ambiguous shell construct for capture + subshells
[rainbows.git] / t / t0114-rewindable-input-true.sh
blob9d256dca841b8280536fdeb58f50aff0d2a52e80
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 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