about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-12-08 13:38:52 -0800
committerEric Wong <normalperson@yhbt.net>2010-12-08 13:38:52 -0800
commit10d96a76a1ea4431dd10ba181d747169c22c1cec (patch)
treebe8fe0bd97ac514f599eba3a0a997d0f0907bb1d
parent1562a19a021a72a78ba495328d2d37ba0dc83b8c (diff)
downloadrainbows-10d96a76a1ea4431dd10ba181d747169c22c1cec.tar.gz
We use real tabs for indenting shell code since it is not Ruby.
-rwxr-xr-xt/t0004-heartbeat-timeout.sh4
-rwxr-xr-xt/t0007-worker-follows-master-to-death.sh2
-rwxr-xr-xt/t0017-keepalive-timeout-zero.sh2
-rwxr-xr-xt/t0102-rack-input-short.sh12
-rwxr-xr-xt/t0106-rack-input-keepalive.sh2
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)