6 t_info
"skipping $T since it's not compatible with $model"
10 RUBYLIB
=$
($RUBY test_isolate_cramp.rb
):$RUBYLIB
12 require_check cramp Cramp
::VERSION
14 t_plan
4 "WebSocket monkey patch validity test for Cramp"
16 CONFIG_RU
=cramp
/rainsocket.ru
18 t_begin
"setup and start" && {
22 # Like the rest of the EM/async stuff, it's not Rack::Lint compatible
23 rainbows
-E deployment
-D $CONFIG_RU -c $unicorn_config
27 t_begin
"wait for server to say hello to us" && {
28 ok
=$
((curl
--no-buffer -sS http
://$listen/ ||
:) | \
29 (tr -d '\0\0377' ||
:) | \
30 awk '/Hello from the Server/ { print "ok"; exit 0 }')
35 t_begin
"termination signal sent" && {
39 t_begin
"no errors in stderr" && check_stderr