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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
 
#!/bin/sh
. ./test-lib.sh
t_plan 3 "test the default_middleware false configuration option"

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

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

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

t_done

debug log:

solving c505f1d ...
found c505f1d in https://yhbt.net/unicorn-public/20180921002158.GC89979@jeremyevans.local/

applying [1/1] https://yhbt.net/unicorn-public/20180921002158.GC89979@jeremyevans.local/
diff --git a/t/t0301-default-middleware-false.sh b/t/t0301-default-middleware-false.sh
new file mode 100644
index 0000000..c505f1d

Checking patch t/t0301-default-middleware-false.sh...
1:28: new blank line at EOF.
+
Applied patch t/t0301-default-middleware-false.sh cleanly.
warning: 1 line adds whitespace errors.

index at:
100644 c505f1d16e6df966066be4a3923bc99b275df590	t/t0301-default-middleware-false.sh

unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhbt.net/unicorn-public
	git clone --mirror http://ou63pmih66umazou.onion/unicorn-public

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 unicorn-public unicorn-public/ https://yhbt.net/unicorn-public \
		unicorn-public@yhbt.net unicorn-public@bogomips.org mongrel-unicorn@rubyforge.org mongrel-unicorn-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org
	public-inbox-index unicorn-public

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.lang.ruby.unicorn
	nntp://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/inbox.comp.lang.ruby.unicorn
 note: .onion URLs require Tor: https://www.torproject.org/

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

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

AGPL code for this site: git clone http://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/public-inbox.git