diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-12-08 13:38:52 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-12-08 13:38:52 -0800 |
commit | 10d96a76a1ea4431dd10ba181d747169c22c1cec (patch) | |
tree | be8fe0bd97ac514f599eba3a0a997d0f0907bb1d /t/t0102-rack-input-short.sh | |
parent | 1562a19a021a72a78ba495328d2d37ba0dc83b8c (diff) | |
download | rainbows-10d96a76a1ea4431dd10ba181d747169c22c1cec.tar.gz |
We use real tabs for indenting shell code since it is not Ruby.
Diffstat (limited to 't/t0102-rack-input-short.sh')
-rwxr-xr-x | t/t0102-rack-input-short.sh | 12 |
1 files changed, 6 insertions, 6 deletions
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" && { |