From 10d96a76a1ea4431dd10ba181d747169c22c1cec Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 8 Dec 2010 13:38:52 -0800 Subject: t/*.sh: indentation fixes We use real tabs for indenting shell code since it is not Ruby. --- t/t0004-heartbeat-timeout.sh | 4 ++-- t/t0007-worker-follows-master-to-death.sh | 2 +- t/t0017-keepalive-timeout-zero.sh | 2 +- t/t0102-rack-input-short.sh | 12 ++++++------ t/t0106-rack-input-keepalive.sh | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/t/t0004-heartbeat-timeout.sh b/t/t0004-heartbeat-timeout.sh index 5010875..53f2bd3 100755 --- a/t/t0004-heartbeat-timeout.sh +++ b/t/t0004-heartbeat-timeout.sh @@ -5,8 +5,8 @@ t_plan 12 "heartbeat/timeout test for $model" t_begin "setup and startup" && { rainbows_setup $model - echo timeout 3 >> $unicorn_config - echo preload_app true >> $unicorn_config + echo timeout 3 >> $unicorn_config + echo preload_app true >> $unicorn_config rainbows -D heartbeat-timeout.ru -c $unicorn_config rainbows_wait_start } diff --git a/t/t0007-worker-follows-master-to-death.sh b/t/t0007-worker-follows-master-to-death.sh index 8153ae4..38eb6e9 100755 --- a/t/t0007-worker-follows-master-to-death.sh +++ b/t/t0007-worker-follows-master-to-death.sh @@ -5,7 +5,7 @@ t_plan 7 "ensure worker follows master to death" t_begin "setup" && { rtmpfiles curl_err curl_out rainbows_setup - echo timeout 3 >> $unicorn_config + echo timeout 3 >> $unicorn_config rainbows -D -c $unicorn_config worker-follows-master-to-death.ru rainbows_wait_start } diff --git a/t/t0017-keepalive-timeout-zero.sh b/t/t0017-keepalive-timeout-zero.sh index 4ba5dd0..0f81d20 100755 --- a/t/t0017-keepalive-timeout-zero.sh +++ b/t/t0017-keepalive-timeout-zero.sh @@ -4,7 +4,7 @@ t_plan 6 "keepalive_timeout 0 tests for $model" t_begin "setup and start" && { rainbows_setup $model 2 0 - grep 'keepalive_timeout 0' $unicorn_config + grep 'keepalive_timeout 0' $unicorn_config rainbows -D env.ru -c $unicorn_config rainbows_wait_start } diff --git a/t/t0102-rack-input-short.sh b/t/t0102-rack-input-short.sh index 6161cdd..dbdba91 100755 --- a/t/t0102-rack-input-short.sh +++ b/t/t0102-rack-input-short.sh @@ -8,21 +8,21 @@ t_begin "setup and startup" && { rtmpfiles curl_out curl_err rainbows_setup $model rainbows -D sha1-random-size.ru -c $unicorn_config - blob_sha1=$(rsha1 < random_blob) - t_info "blob_sha1=$blob_sha1" + blob_sha1=$(rsha1 < random_blob) + t_info "blob_sha1=$blob_sha1" rainbows_wait_start } t_begin "regular request" && { curl -sSf -T random_blob http://$listen/ > $curl_out 2> $curl_err - test x$blob_sha1 = x$(cat $curl_out) - test ! -s $curl_err + test x$blob_sha1 = x$(cat $curl_out) + test ! -s $curl_err } t_begin "chunked request" && { curl -sSf -T- < random_blob http://$listen/ > $curl_out 2> $curl_err - test x$blob_sha1 = x$(cat $curl_out) - test ! -s $curl_err + test x$blob_sha1 = x$(cat $curl_out) + test ! -s $curl_err } t_begin "shutdown" && { diff --git a/t/t0106-rack-input-keepalive.sh b/t/t0106-rack-input-keepalive.sh index ce6d092..5dade57 100755 --- a/t/t0106-rack-input-keepalive.sh +++ b/t/t0106-rack-input-keepalive.sh @@ -4,7 +4,7 @@ t_plan 11 "rack.input pipelining test" t_begin "setup and startup" && { rainbows_setup $model - rtmpfiles req + rtmpfiles req rainbows -D sha1.ru -c $unicorn_config body=hello body_size=$(printf $body | wc -c) -- cgit v1.2.3-24-ge0c7