tests: "wc -l" portability for *BSDs
authorEric Wong <normalperson@yhbt.net>
Mon, 4 Feb 2013 12:39:09 +0000 (12:39 +0000)
committerEric Wong <normalperson@yhbt.net>
Mon, 4 Feb 2013 13:38:13 +0000 (13:38 +0000)
commite6faf9e26bcb172026a4984ecadbaa8b6789bcb7
tree37d8b44818b1f62b7c285124073c85fa50e202e5
parentf4e3bac180ff01256832f98655636f79b52f9d5b
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.
21 files changed:
t/t0000-simple-http.sh
t/t0001-unix-http.sh
t/t0003-reopen-logs.sh
t/t0004-heartbeat-timeout.sh
t/t0024-pipelined-sendfile-response.sh
t/t0030-fast-pipe-response.sh
t/t0034-pipelined-pipe-response.sh
t/t0035-kgio-pipe-response.sh
t/t0040-keepalive_requests-setting.sh
t/t0044-autopush.sh
t/t0045-client_max_header_size.sh
t/t0100-rack-input-hammer-chunked.sh
t/t0100-rack-input-hammer-content-length.sh
t/t0106-rack-input-keepalive.sh
t/t0402-async-keepalive.sh
t/t0600-rack-fiber_pool.sh
t/t0700-app-deferred.sh
t/t9000-rack-app-pool.sh
t/t9100-thread-timeout.sh
t/t9101-thread-timeout-threshold.sh
t/test-lib.sh