about summary refs log tree commit homepage
path: root/t/t0027-nil-copy_stream.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t0027-nil-copy_stream.sh')
-rw-r--r--t/t0027-nil-copy_stream.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0027-nil-copy_stream.sh b/t/t0027-nil-copy_stream.sh
index 9b68160..ac282ce 100644
--- a/t/t0027-nil-copy_stream.sh
+++ b/t/t0027-nil-copy_stream.sh
@@ -19,7 +19,7 @@ EOF
 
 t_begin "read random blob sha1 and size" && {
         random_blob_sha1=$(rsha1 < random_blob)
-        random_blob_size=$(wc -c < random_blob)
+        random_blob_size=$(count_bytes < random_blob)
 }
 
 t_begin "send a series HTTP/1.1 requests sequentially" && {