t6050: use test_line_count instead of wc -l
commit502d87b9e3ee6faadae45d545e0e257ef8948f0b
authorChristian Couder <christian.couder@gmail.com>
Sun, 31 Mar 2019 13:46:56 +0000 (31 15:46 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Apr 2019 08:49:00 +0000 (1 17:49 +0900)
tree0ec103fbc622f43843360380a7d6e13732403a36
parentaeb582a98374c094361cba1bd756dc6307432c42
t6050: use test_line_count instead of wc -l

This modernizes a test and makes it more portable.

Reviewed-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6050-replace.sh