unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
blob 00feacce911574e7830cb41b8c1a24041d6cd6bc 417 bytes (raw)
name: t/t0300-no-default-middleware.sh 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
 
#!/bin/sh
. ./test-lib.sh
t_plan 3 "test the -N / --no-default-middleware option"

t_begin "setup and start" && {
	unicorn_setup
	unicorn -N -D -c $unicorn_config fails-rack-lint.ru
	unicorn_wait_start
}

t_begin "check exit status with Rack::Lint not present" && {
	test 500 -ne "$(curl -sf -o/dev/null -w'%{http_code}' http://$listen/)"
}

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

t_done

debug log:

solving 00feacc ...
found 00feacc in https://yhbt.net/unicorn.git/

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

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

	https://yhbt.net/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).