tests: "wc -l" portability for *BSDs
commit9cd8554749a9f120b010c93933d09d2dd27b1280
authorEric Wong <normalperson@yhbt.net>
Mon, 4 Feb 2013 12:39:09 +0000 (4 12:39 +0000)
committerEric Wong <normalperson@yhbt.net>
Mon, 4 Feb 2013 12:39:09 +0000 (4 12:39 +0000)
treecc085e5218ecc342a35420d2bb137dcb42403506
parent2a2163594ea2b515e98fbe9f909bcf90e4c35fe8
tests: "wc -l" portability for *BSDs

On FreeBSD 9.0, "wc -l" emits leading whitespace, so
filter it through tr -d '[:space:]' to eliminate it.
t/t0000-http-basic.sh
t/t0004-heartbeat-timeout.sh
t/t0100-rack-input-tests.sh
t/t9000-preread-input.sh
t/test-lib.sh