2 echo "parser error test for model=$model"
5 rtmpfiles unicorn_config pid r_err r_out tmp fifo ok
7 cat > $unicorn_config <<EOF
12 Rainbows! { use :$model }
15 rainbows
-D env.ru
-c $unicorn_config
19 printf 'GET / HTTP/1/1\r\nHost: example.com\r\n\r\n'
23 ) | socat
- TCP
:$listen > $fifo
28 grep -F 'HTTP/1.1 400 Bad Request' $tmp