unicorn 4.7.0 - minor updates, license tweak
[unicorn.git] / t / t0300-no-default-middleware.sh
blobc017c1684cb4682ba5ba25cccd2ecd1ccb65d00a
1 #!/bin/sh
2 . ./test-lib.sh
3 t_plan 2 "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_done