Rainbows! Rack HTTP server user/dev discussion
 help / color / mirror / code / Atom feed
blob 0bba8a516d6167ea6c22cc150798a0714bb1c645 704 bytes (raw)
name: t/t0113-rewindable-input-false.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
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 false"

t_begin "setup and start" && {
	rainbows_setup
	echo rewindable_input false >> $unicorn_config
	rainbows -D -c $unicorn_config t0113.ru
	rainbows_wait_start
}

t_begin "ensure worker is started" && {
	test xOK = x$(curl -T t0113.ru -H Expect: -vsSf http://$listen/)
}

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

t_begin "check stderr" && {
	check_stderr
}

t_done

debug log:

solving 0bba8a5 ...
found 0bba8a5 in https://yhbt.net/rainbows-public/1379421104-75563-1-git-send-email-godfat@godfat.org/
found 6eb2fda in https://yhbt.net/rainbows.git/
preparing index
index prepared:
100755 6eb2fda468bfd12259c2b499b69beec8d4f8fe8f	t/t0113-rewindable-input-false.sh

applying [1/1] https://yhbt.net/rainbows-public/1379421104-75563-1-git-send-email-godfat@godfat.org/
diff --git a/t/t0113-rewindable-input-false.sh b/t/t0113-rewindable-input-false.sh
index 6eb2fda..0bba8a5 100755

Checking patch t/t0113-rewindable-input-false.sh...
Applied patch t/t0113-rewindable-input-false.sh cleanly.

index at:
100755 0bba8a516d6167ea6c22cc150798a0714bb1c645	t/t0113-rewindable-input-false.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).