httpdate: favor gettimeofday(2) over time(2) for correctness
[unicorn.git] / t / t0301-no-default-middleware-ignored-in-config.sh
blob0b6cd94aedc0d016034854afd1ff62add8e97083
1 #!/bin/sh
2 . ./test-lib.sh
3 t_plan 3 "-N / --no-default-middleware option not supported in config.ru"
5 t_begin "setup and start" && {
6 unicorn_setup
7 RACK_ENV=development unicorn -D -c $unicorn_config t0301.ru
8 unicorn_wait_start
11 t_begin "check switches parsed as expected and -N ignored for Rack::Lint" && {
12 debug=false
13 lint=
14 eval "$(curl -sf http://$listen/vars)"
15 test x"$debug" = xtrue
16 test x"$lint" != x
17 test -f "$lint"
20 t_begin "killing succeeds" && {
21 kill $unicorn_pid
22 check_stderr
25 t_done