Sha256: cb79b295e31195aa1e2b05e5bf467e752a75329b50d895329727e0e2cfabca12

Contents?: true

Size: 595 Bytes

Versions: 26

Compression:

Stored size: 595 Bytes

Contents

#!/bin/sh
. ./test-lib.sh
skip_models EventMachine NeverBlock
skip_models Rev RevThreadSpawn RevThreadPool
skip_models Coolio CoolioThreadSpawn CoolioThreadPool
skip_models Epoll XEpoll

t_plan 4 "rewindable_input toggled to true"

t_begin "setup and start" && {
	rainbows_setup
	echo rewindable_input true >> $unicorn_config
	rainbows -D -c $unicorn_config t0114.ru
	rainbows_wait_start
}

t_begin "ensure worker is started" && {
	test xOK = x$(curl -T t0114.ru -sSf http://$listen/)
}

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

t_begin "check stderr" && {
	check_stderr
}

t_done

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
rainbows-4.1.0 t/t0114-rewindable-input-true.sh
rainbows-4.0.0 t/t0114-rewindable-input-true.sh
rainbows-3.4.0 t/t0114-rewindable-input-true.sh
rainbows-3.3.0 t/t0114-rewindable-input-true.sh
rainbows-3.2.0 t/t0114-rewindable-input-true.sh
rainbows-3.1.0 t/t0114-rewindable-input-true.sh