Subject: | t/skip-leak.t fails on BSD systems |
On my freebsd smokers:
...
# Failed test at t/skip-leak.t line 16.
# got: ' 189999999
# '
# expected: '189999999
# '
# Looks like you failed 1 test of 1.
t/skip-leak.t ........................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
...
It seems that BSD wc formats the output slightly differenly than Linux wc, i.e. another space is added:
FreeBSD:
$ head -c 200000000 /dev/zero | wc -c
200000000
Linux:
$ head -c 200000000 /dev/zero | wc -c
200000000