Sha256: 79fa84bb24a3a327d38d41ca7387ac21f0460f1a83a74371ea3e2e86fc21a203

Contents?: true

Size: 428 Bytes

Versions: 27

Compression:

Stored size: 428 Bytes

Contents

#!/bin/sh
. ./test-lib.sh
t_plan 4 "write-on-close tests for funky response-bodies"

t_begin "setup and start" && {
	rainbows_setup
	rainbows -D -c $unicorn_config write-on-close.ru
	rainbows_wait_start
}

t_begin "write-on-close response body succeeds" && {
	test xGoodbye = x"$(curl -sSf --http1.0 http://$listen/)"
}

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

t_begin "check stderr" && {
	check_stderr
}

t_done

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
rainbows-5.2.1 t/t0025-write-on-close.sh
rainbows-5.2.0 t/t0025-write-on-close.sh
rainbows-5.1.1 t/t0025-write-on-close.sh
rainbows-5.1.0 t/t0025-write-on-close.sh
rainbows-5.0.0.5.ge717 t/t0025-write-on-close.sh
rainbows-5.0.0 t/t0025-write-on-close.sh
rainbows-4.7.0 t/t0025-write-on-close.sh
rainbows-4.6.2 t/t0025-write-on-close.sh
rainbows-4.6.1 t/t0025-write-on-close.sh
rainbows-4.6.0.4.g4108 t/t0025-write-on-close.sh
rainbows-4.6.0 t/t0025-write-on-close.sh
rainbows-4.5.0 t/t0025-write-on-close.sh
rainbows-4.4.3 t/t0025-write-on-close.sh
rainbows-4.4.2 t/t0025-write-on-close.sh
rainbows-4.4.1.1.gd5c8c t/t0025-write-on-close.sh
rainbows-4.4.1 t/t0025-write-on-close.sh
rainbows-4.4.0 t/t0025-write-on-close.sh
rainbows-4.3.1 t/t0025-write-on-close.sh
rainbows-4.3.0 t/t0025-write-on-close.sh
rainbows-4.2.0 t/t0025-write-on-close.sh