doc: update support status for Ruby versions
[unicorn.git] / t / t0300-no-default-middleware.sh
blob779dc0264aa03c08bcbd71f653e15861ead092e2
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 42 -eq "$(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