Sha256: 9e7c258160ef2b02d2ecaf9a9d043338dbb9fbf0e5bd572b2f67875158b5a4ac

Contents?: true

Size: 584 Bytes

Versions: 24

Compression:

Stored size: 584 Bytes

Contents

#!/bin/sh
. ./test-lib.sh
test -r random_blob || die "random_blob required, run with 'make $0'"
check_copy_stream
check_splice

t_plan 13 "IO::Splice.copy_stream byte range response for $model"

t_begin "setup and startup" && {
	rtmpfiles out err
	rainbows_setup $model
	cat >> $unicorn_config <<EOF
require "io/splice"
Rainbows! do
  copy_stream IO::Splice
end
def (::IO).copy_stream(*x); abort "NO"; end
EOF

	# can't load Rack::Lint here since it clobbers body#to_path
	rainbows -E none -D large-file-response.ru -c $unicorn_config
	rainbows_wait_start
}

. ./byte-range-common.sh

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
rainbows-5.2.1 t/t0026-splice-copy_stream-byte-range.sh
rainbows-5.2.0 t/t0026-splice-copy_stream-byte-range.sh
rainbows-5.1.1 t/t0026-splice-copy_stream-byte-range.sh
rainbows-5.1.0 t/t0026-splice-copy_stream-byte-range.sh
rainbows-5.0.0.5.ge717 t/t0026-splice-copy_stream-byte-range.sh
rainbows-5.0.0 t/t0026-splice-copy_stream-byte-range.sh
rainbows-4.7.0 t/t0026-splice-copy_stream-byte-range.sh
rainbows-4.6.2 t/t0026-splice-copy_stream-byte-range.sh
rainbows-4.6.1 t/t0026-splice-copy_stream-byte-range.sh
rainbows-4.6.0.4.g4108 t/t0026-splice-copy_stream-byte-range.sh
rainbows-4.6.0 t/t0026-splice-copy_stream-byte-range.sh
rainbows-4.5.0 t/t0026-splice-copy_stream-byte-range.sh
rainbows-4.4.3 t/t0026-splice-copy_stream-byte-range.sh
rainbows-4.4.2 t/t0026-splice-copy_stream-byte-range.sh
rainbows-4.4.1.1.gd5c8c t/t0026-splice-copy_stream-byte-range.sh
rainbows-4.4.1 t/t0026-splice-copy_stream-byte-range.sh
rainbows-4.4.0 t/t0026-splice-copy_stream-byte-range.sh
rainbows-4.3.1 t/t0026-splice-copy_stream-byte-range.sh
rainbows-4.3.0 t/t0026-splice-copy_stream-byte-range.sh
rainbows-4.2.0 t/t0026-splice-copy_stream-byte-range.sh