about summary refs log tree commit homepage
path: root/t/t0003-reopen-logs.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t0003-reopen-logs.sh')
-rwxr-xr-xt/t0003-reopen-logs.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t0003-reopen-logs.sh b/t/t0003-reopen-logs.sh
index cecd926..a01a422 100755
--- a/t/t0003-reopen-logs.sh
+++ b/t/t0003-reopen-logs.sh
@@ -67,11 +67,11 @@ t_begin "ensure no errors from curl" && {
 }
 
 t_begin "curl got $nr_client responses" && {
-        test "$(wc -l < $curl_out)" -eq $nr_client
+        test "$(count_lines < $curl_out)" -eq $nr_client
 }
 
 t_begin "all responses were identical" && {
-        nr=$(sort < $curl_out | uniq | wc -l)
+        nr=$(sort < $curl_out | uniq | count_lines)
         test "$nr" -eq 1
 }