tests: "wc -c" portability for *BSDs
commit8a6117a22a7d01eeb5adc63d3152acf435cd3176
authorEric Wong <normalperson@yhbt.net>
Thu, 24 Jan 2013 23:33:54 +0000 (24 23:33 +0000)
committerEric Wong <normalperson@yhbt.net>
Fri, 1 Feb 2013 21:46:27 +0000 (1 21:46 +0000)
tree121c3fa707d28110e704dd6fd87cff985a5616a8
parent0ba6fc3c30b9cf530faf7fcf5ce7be519ec13fe7
tests: "wc -c" portability for *BSDs

On FreeBSD 9.0, "wc -c" emits leading whitespace, so
filter it through tr -d '[:space:]' to eliminate it.
t/byte-range-common.sh
t/t0003-reopen-logs.sh
t/t0005-large-file-response.sh
t/t0027-nil-copy_stream.sh
t/t0106-rack-input-keepalive.sh
t/t9001-sendfile-to-path.sh
t/test-lib.sh