Sha256: fe9311a1a80ca32f94a329c3b9a4e28f1691e9bd2e85e604fdfde770dfc31768

Contents?: true

Size: 531 Bytes

Versions: 111

Compression:

Stored size: 531 Bytes

Contents

#!/bin/sh
. ./test-lib.sh
t_plan 4 "configurator internals tests (from FAQ)"

t_begin "setup and start" && {
	unicorn_setup
	cat >> $unicorn_config <<EOF
HttpRequest::DEFAULTS["rack.url_scheme"] = "https"
Configurator::DEFAULTS[:logger].formatter = Logger::Formatter.new
EOF
	unicorn -D -c $unicorn_config env.ru
	unicorn_wait_start
}

t_begin "single request" && {
	curl -sSfv http://$listen/ | grep '"rack.url_scheme"=>"https"'
}

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

t_begin "no errors" && check_stderr

t_done

Version data entries

111 entries across 111 versions & 12 rubygems

Version Path
unicorn-maintained-6.2.0 t/t0015-configurator-internals.sh
unicorn-6.1.0 t/t0015-configurator-internals.sh
unicorn-6.0.0 t/t0015-configurator-internals.sh
unicorn-5.8.0 t/t0015-configurator-internals.sh
unicorn-5.7.0 t/t0015-configurator-internals.sh
unicorn-5.6.0 t/t0015-configurator-internals.sh
unicorn-5.5.5 t/t0015-configurator-internals.sh
unicorn-5.5.4 t/t0015-configurator-internals.sh
unicorn-5.5.3 t/t0015-configurator-internals.sh
unicorn-5.5.2 t/t0015-configurator-internals.sh
unicorn-5.5.1 t/t0015-configurator-internals.sh
unicorn-5.5.0.1.g6836 t/t0015-configurator-internals.sh
unicorn-5.5.0 t/t0015-configurator-internals.sh
unicorn-5.5.0.pre1 t/t0015-configurator-internals.sh
unicorn-5.4.1 t/t0015-configurator-internals.sh
unicorn-5.4.0 t/t0015-configurator-internals.sh
unicorn-5.3.1 t/t0015-configurator-internals.sh
unicorn-shopify-5.3.0 t/t0015-configurator-internals.sh
unicorn-5.3.0 t/t0015-configurator-internals.sh
unicorn-5.3.0.pre1 t/t0015-configurator-internals.sh