blob f91fd0ec5f4c6136c680aa08b30ca8ca88232aa1 794 bytes (raw)
name: t/t0023-sendfile-byte-range.sh # note: path name is non-authoritative(*)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
| | #!/bin/sh
. ./test-lib.sh
skip_models StreamResponseEpoll
test -r random_blob || die "random_blob required, run with 'make $0'"
case $RUBY_ENGINE in
ruby) ;;
*)
t_info "skipping $T since it can't load the sendfile gem, yet"
exit 0
;;
esac
skip_models EventMachine EventMachineThreadDefer EventMachineThreadPool
skip_models EventMachineThreadSpawn
skip_models NeverBlock
t_plan 13 "sendfile byte range response for $model"
t_begin "setup and startup" && {
rtmpfiles out err
rainbows_setup $model
echo 'require "sendfile"' >> $unicorn_config
echo 'def (::IO).copy_stream(*x); abort "NO"; end' >> $unicorn_config
# 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
|
debug log:
solving f91fd0e ...
found f91fd0e in https://yhbt.net/rainbows-public/1379421104-75563-1-git-send-email-godfat@godfat.org/
found a5b6ab2 in https://yhbt.net/rainbows.git/
preparing index
index prepared:
100755 a5b6ab25dea9558c9293494e73e8505c6b660fcc t/t0023-sendfile-byte-range.sh
applying [1/1] https://yhbt.net/rainbows-public/1379421104-75563-1-git-send-email-godfat@godfat.org/
diff --git a/t/t0023-sendfile-byte-range.sh b/t/t0023-sendfile-byte-range.sh
index a5b6ab2..f91fd0e 100755
Checking patch t/t0023-sendfile-byte-range.sh...
Applied patch t/t0023-sendfile-byte-range.sh cleanly.
index at:
100755 f91fd0ec5f4c6136c680aa08b30ca8ca88232aa1 t/t0023-sendfile-byte-range.sh
(*) Git path names are given by the tree(s) the blob belongs to.
Blobs themselves have no identifier aside from the hash of its contents.^
Code repositories for project(s) associated with this public inbox
https://yhbt.net/rainbows.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).