From: Torsten Bögershausen Date: Thu, 21 Dec 2017 21:26:46 +0000 (+0100) Subject: check-non-portable-shell.pl: `wc -l` may have leading WS X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=7dbe8c8003f3bec04f9dbbfff2b4bff172e52d9c;p=git.git check-non-portable-shell.pl: `wc -l` may have leading WS Test scripts count number of lines in an output and check it againt its expectation. fb3340a6 ("test-lib: introduce test_line_count to measure files", 2010-10-31) introduced a helper to show a failure in such a test in a more readable way than comparing `wc -l` output with a number. Besides, on some platforms, "$(wc -l