Avoid expr in non-portable comparison
commit6b285e67e547f8bd7c29ad92da91ca2e89210073
authorViktor Dukhovni <viktor@twosigma.com>
Thu, 16 Mar 2017 06:06:00 +0000 (16 02:06 -0400)
committerViktor Dukhovni <viktor1ghub@dukhovni.org>
Thu, 16 Mar 2017 15:41:19 +0000 (16 11:41 -0400)
tree1ecf2342b8b19e549b2984439cd134bdf894a0fb
parent14135e90aa185942abe1611cde3164c5686041bd
Avoid expr in non-portable comparison

The output of `wc -l` includes leading white-space, and at least
in FreeBSD 11, `expr 1 + "$foo"` fails when "$foo" (captured as
`wc -l` output) has leading whitespace.  Instead, just emit one
more line for "wc" to count.
tests/kdc/check-iprop.in