about summary refs log tree commit homepage
path: root/t/t0106-rack-input-keepalive.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t0106-rack-input-keepalive.sh')
-rwxr-xr-xt/t0106-rack-input-keepalive.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t0106-rack-input-keepalive.sh b/t/t0106-rack-input-keepalive.sh
index e408701..4bc65a1 100755
--- a/t/t0106-rack-input-keepalive.sh
+++ b/t/t0106-rack-input-keepalive.sh
@@ -8,9 +8,9 @@ t_begin "setup and startup" && {
         rtmpfiles req
         rainbows -D sha1.ru -c $unicorn_config
         body=hello
-        body_size=$(printf $body | wc -c)
+        body_size=$(printf $body | count_bytes)
         body_sha1=$(printf $body | rsha1)
-        random_blob_size=$(wc -c < random_blob)
+        random_blob_size=$(count_bytes < random_blob)
         random_blob_sha1=$(rsha1 < random_blob)
         rainbows_wait_start
 }