Rainbows! Rack HTTP server user/dev discussion
 help / color / Atom feed
742258dda4b258aee5f688e946f21f42520019d4 blob 690 bytes (raw)

 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
31
 
#!/bin/sh
. ./test-lib.sh
skip_models EventMachine EventMachineThreadDefer EventMachineThreadPool
skip_models EventMachineThreadSpawn
skip_models 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
debug log:

solving 742258d ...
found 742258d in http://bogomips.org/rainbows-public/1379421104-75563-1-git-send-email-godfat@godfat.org/
found 9d256dc in http://bogomips.org/rainbows.git
preparing index
index prepared:
100755 9d256dca841b8280536fdeb58f50aff0d2a52e80	t/t0114-rewindable-input-true.sh

applying [1/1] http://bogomips.org/rainbows-public/1379421104-75563-1-git-send-email-godfat@godfat.org/
diff --git a/t/t0114-rewindable-input-true.sh b/t/t0114-rewindable-input-true.sh
index 9d256dc..742258d 100755

Checking patch t/t0114-rewindable-input-true.sh...
Applied patch t/t0114-rewindable-input-true.sh cleanly.

index at:
100755 742258dda4b258aee5f688e946f21f42520019d4	t/t0114-rewindable-input-true.sh

Rainbows! Rack HTTP server user/dev discussion

Archives are clonable:
	git clone --mirror http://bogomips.org/rainbows-public
	git clone --mirror http://ou63pmih66umazou.onion/rainbows-public

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.lang.ruby.rainbows
	nntp://ou63pmih66umazou.onion/inbox.comp.lang.ruby.rainbows

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git