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-Tag: v2.16.0-rc1~3^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7dbe8c8003f3bec04f9dbbfff2b4bff172e52d9c;p=thirdparty%2Fgit.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