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-5.2.1 t/t0114-rewindable-input-true.sh
rainbows-5.2.0 t/t0114-rewindable-input-true.sh
rainbows-5.1.1 t/t0114-rewindable-input-true.sh
rainbows-5.1.0 t/t0114-rewindable-input-true.sh
rainbows-5.0.0.5.ge717 t/t0114-rewindable-input-true.sh
rainbows-5.0.0 t/t0114-rewindable-input-true.sh
rainbows-4.7.0 t/t0114-rewindable-input-true.sh
rainbows-4.6.2 t/t0114-rewindable-input-true.sh
rainbows-4.6.1 t/t0114-rewindable-input-true.sh
rainbows-4.6.0.4.g4108 t/t0114-rewindable-input-true.sh
rainbows-4.6.0 t/t0114-rewindable-input-true.sh
rainbows-4.5.0 t/t0114-rewindable-input-true.sh
rainbows-4.4.3 t/t0114-rewindable-input-true.sh
rainbows-4.4.2 t/t0114-rewindable-input-true.sh
rainbows-4.4.1.1.gd5c8c t/t0114-rewindable-input-true.sh
rainbows-4.4.1 t/t0114-rewindable-input-true.sh
rainbows-4.4.0 t/t0114-rewindable-input-true.sh
rainbows-4.3.1 t/t0114-rewindable-input-true.sh
rainbows-4.3.0 t/t0114-rewindable-input-true.sh
rainbows-4.2.0 t/t0114-rewindable-input-true.sh