3 t_plan
7 "simple HTTPS connection tests"
5 t_begin
"setup and start" && {
8 cat > $unicorn_config <<EOF
11 ssl_certificate "server.crt"
12 ssl_certificate_key "server.key"
18 unicorn
-D -c $unicorn_config env.ru
22 t_begin
"single request" && {
23 curl
-sSfv --cacert ca.crt https
://$listen/
26 t_begin
"check stderr has no errors" && {
30 t_begin
"multiple requests" && {
31 curl
-sSfv --no-keepalive --cacert ca.crt \
32 https
://$listen/ https
://$listen/ 2>> $curl_err >> $tmp
36 t_begin
"check stderr has no errors" && {
40 t_begin
"killing succeeds" && {
44 t_begin
"check stderr has no errors" && {