tests: Handle different output formats for 'wc -l'.
authorEd Maste <emaste@freebsd.org>
Mon, 30 Jul 2012 20:34:52 +0000 (20:34 +0000)
committerBen Pfaff <blp@nicira.com>
Mon, 30 Jul 2012 22:33:36 +0000 (15:33 -0700)
commite0c7697cbcb56fde7aa725772eae75d15aa80403
treee9d6fc70ee14ddc14726de5a11ba7ab595050c75
parenteb0cb3161f52bfb8360e48af6a869ba3a5f06add
tests: Handle different output formats for 'wc -l'.

FreeBSD's wc outputs leading whitespace before the count, so use test(1)
for numeric equality instead of AC_CHECK string match.

Signed-off-by: Ed Maste <emaste@freebsd.org>
Signed-off-by: Ben Pfaff <blp@nicira.com>
tests/ovsdb-server.at
tests/ovsdb-tool.at