unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
0b6cd94aedc0d016034854afd1ff62add8e97083 blob 509 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 
#!/bin/sh
. ./test-lib.sh
t_plan 3 "-N / --no-default-middleware option not supported in config.ru"

t_begin "setup and start" && {
	unicorn_setup
	RACK_ENV=development unicorn -D -c $unicorn_config t0301.ru
	unicorn_wait_start
}

t_begin "check switches parsed as expected and -N ignored for Rack::Lint" && {
	debug=false
	lint=
	eval "$(curl -sf http://$listen/vars)"
	test x"$debug" = xtrue
	test x"$lint" != x
	test -f "$lint"
}

t_begin "killing succeeds" && {
	kill $unicorn_pid
	check_stderr
}

t_done
debug log:

solving 0b6cd94 ...
found 0b6cd94 in https://yhbt.net/unicorn.git

Code repositories for project(s) associated with this inbox:

	../../../unicorn.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).