about summary refs log tree commit homepage
path: root/t/t9001-sendfile-to-path.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t9001-sendfile-to-path.sh')
-rwxr-xr-xt/t9001-sendfile-to-path.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t9001-sendfile-to-path.sh b/t/t9001-sendfile-to-path.sh
index 5a9fdcd..4e4012c 100755
--- a/t/t9001-sendfile-to-path.sh
+++ b/t/t9001-sendfile-to-path.sh
@@ -40,7 +40,7 @@ t_begin "X-Sendfile does not show up in headers" && {
 }
 
 t_begin "Content-Length is set correctly in headers" && {
-        expect=$(wc -c < random_blob)
+        expect=$(count_bytes < random_blob)
         grep "^< Content-Length: $expect" $curl_err
 }