about summary refs log tree commit homepage
path: root/t/t0035-kgio-pipe-response.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t0035-kgio-pipe-response.sh')
-rwxr-xr-xt/t0035-kgio-pipe-response.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0035-kgio-pipe-response.sh b/t/t0035-kgio-pipe-response.sh
index 552270f..b0c8112 100755
--- a/t/t0035-kgio-pipe-response.sh
+++ b/t/t0035-kgio-pipe-response.sh
@@ -35,7 +35,7 @@ t_begin "send three keep-alive requests" && {
 }
 
 t_begin "ensure responses were all keep-alive" && {
-        test 3 -eq $(grep '< Connection: keep-alive' < $err | wc -l)
+        test 3 -eq $(grep '< Connection: keep-alive' < $err | count_lines)
 }
 
 t_begin "HTTP/1.0 test" && {