test: wrap 'wc -l' results in arithmetic evaluation to strip whitespace
authorJani Nikula <jani@nikula.org>
Tue, 4 Dec 2012 21:26:32 +0000 (23:26 +0200)
committerDavid Bremner <bremner@debian.org>
Sat, 8 Dec 2012 13:19:34 +0000 (09:19 -0400)
commit60e79e3a9f1c8f054bd3f064714a9e92e8fe13b8
tree34d760b4d0d22d0d7b651696fe73c96236890784
parent423e4fbfebdb5b49044184676e3fdda85955fdb0
test: wrap 'wc -l' results in arithmetic evaluation to strip whitespace

This is for portability, as 'wc -l' emits whitespace on some BSD
variants. Suggested by Tomi Ollila <tomi.ollila@iki.fi>.
test/count