doc: various updates and disclaimers
[unicorn.git] / t / t0300-no-default-middleware.sh
blob00feacce911574e7830cb41b8c1a24041d6cd6bc
1 #!/bin/sh
2 . ./test-lib.sh
3 t_plan 3 "test the -N / --no-default-middleware option"
5 t_begin "setup and start" && {
6 unicorn_setup
7 unicorn -N -D -c $unicorn_config fails-rack-lint.ru
8 unicorn_wait_start
11 t_begin "check exit status with Rack::Lint not present" && {
12 test 500 -ne "$(curl -sf -o/dev/null -w'%{http_code}' http://$listen/)"
15 t_begin "killing succeeds" && {
16 kill $unicorn_pid
17 check_stderr
20 t_done