tests: "wc -c" portability for *BSDs
commit2a2163594ea2b515e98fbe9f909bcf90e4c35fe8
authorEric Wong <normalperson@yhbt.net>
Mon, 4 Feb 2013 12:29:00 +0000 (4 12:29 +0000)
committerEric Wong <normalperson@yhbt.net>
Mon, 4 Feb 2013 12:31:05 +0000 (4 12:31 +0000)
treecdfb5fd65bd1850dba45362a81350da6ee0ae7d0
parent85223902e8229bd460ce0b4ad126f42b1db42a46
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.

This is commit 8a6117a22a7d01eeb5adc63d3152acf435cd3176
in rainbows.git
t/t0006-reopen-logs.sh
t/t0019-max_header_len.sh
t/t0100-rack-input-tests.sh
t/test-lib.sh