t/GNUmakefile: cleanup test dependencies
[rainbows.git] / t / t0025-write-on-close.sh
blob84fc2f3896c8baaf00f4635af58ddf9a0ddde658
1 #!/bin/sh
2 . ./test-lib.sh
3 t_plan 4 "write-on-close tests for funky response-bodies"
5 t_begin "setup and start" && {
6 rainbows_setup
7 rainbows -D -c $unicorn_config write-on-close.ru
8 rainbows_wait_start
11 t_begin "write-on-close response body succeeds" && {
12 test xGoodbye = x"$(curl -sSf --http1.0 http://$listen/)"
15 t_begin "killing succeeds" && {
16 kill $rainbows_pid
19 t_begin "check stderr" && {
20 check_stderr
23 t_done