about summary refs log tree commit homepage
path: root/t/t9000-preread-input.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t9000-preread-input.sh')
-rwxr-xr-xt/t9000-preread-input.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t9000-preread-input.sh b/t/t9000-preread-input.sh
index b9da05e..d6c73ab 100755
--- a/t/t9000-preread-input.sh
+++ b/t/t9000-preread-input.sh
@@ -26,7 +26,7 @@ t_begin "sha1 matches" && {
 }
 
 t_begin "app only dispatched twice" && {
-        test 2 -eq "$(grep 'app dispatch:' < $r_err | wc -l )"
+        test 2 -eq "$(grep 'app dispatch:' < $r_err | count_lines )"
 }
 
 t_begin "aborted chunked request" && {
@@ -38,7 +38,7 @@ t_begin "aborted chunked request" && {
 }
 
 t_begin "app only dispatched twice" && {
-        test 2 -eq "$(grep 'app dispatch:' < $r_err | wc -l )"
+        test 2 -eq "$(grep 'app dispatch:' < $r_err | count_lines )"
 }
 
 t_begin "killing succeeds" && {