Sha256: ffbc85795aed0f4ea5899ba56528f054651ad098697d35533b27f28daaf9a72a

Contents?: true

Size: 469 Bytes

Versions: 136

Compression:

Stored size: 469 Bytes

Contents

#!/bin/sh
. ./test-lib.sh

t_plan 3 "config.ru is missing inside alt working_directory"

t_begin "setup" && {
	unicorn_setup
	rtmpfiles unicorn_config_tmp ok
	rm -rf $t_pfx.app
	mkdir $t_pfx.app

	# the whole point of this exercise
	echo "working_directory '$t_pfx.app'" >> $unicorn_config_tmp
}

t_begin "fails to start up w/o config.ru" && {
	unicorn -c $unicorn_config_tmp || echo ok > $ok
}

t_begin "fallback code was run" && {
	test x"$(cat $ok)" = xok
}

t_done

Version data entries

136 entries across 136 versions & 11 rubygems

Version Path
unicorn-6.1.0 t/t0004-working_directory_broken.sh
unicorn-6.0.0 t/t0004-working_directory_broken.sh
unicorn-5.8.0 t/t0004-working_directory_broken.sh
unicorn-5.7.0 t/t0004-working_directory_broken.sh
unicorn-5.6.0 t/t0004-working_directory_broken.sh
unicorn-5.5.5 t/t0004-working_directory_broken.sh
unicorn-5.5.4 t/t0004-working_directory_broken.sh
unicorn-5.5.3 t/t0004-working_directory_broken.sh
unicorn-5.5.2 t/t0004-working_directory_broken.sh
unicorn-5.5.1 t/t0004-working_directory_broken.sh
unicorn-5.5.0.1.g6836 t/t0004-working_directory_broken.sh
unicorn-5.5.0 t/t0004-working_directory_broken.sh
unicorn-5.5.0.pre1 t/t0004-working_directory_broken.sh
unicorn-5.4.1 t/t0004-working_directory_broken.sh
unicorn-5.4.0 t/t0004-working_directory_broken.sh
unicorn-5.3.1 t/t0004-working_directory_broken.sh
unicorn-shopify-5.3.0 t/t0004-working_directory_broken.sh
unicorn-5.3.0 t/t0004-working_directory_broken.sh
unicorn-5.3.0.pre1 t/t0004-working_directory_broken.sh
unicorn-shopify-5.2.0.6 t/t0004-working_directory_broken.sh