tests: Fix bug in "ovsdb-tool compact" test.
authorBen Pfaff <blp@nicira.com>
Fri, 7 May 2010 17:41:06 +0000 (10:41 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 7 May 2010 21:47:51 +0000 (14:47 -0700)
commiteb18f4c70b84ad4b65180d9ebc200491e34d5aec
tree54817d370bb5f34bc0a025dd89b1c0d23c0ba528
parent549c1d0d63b20492d44384f91b7ecf0ac3ea77a9
tests: Fix bug in "ovsdb-tool compact" test.

This test examines the OVSDB database log and checks that it contains what
it should for specified transactions.  However, the database log ordering
differs between big-endian and little-endian architectures because it is
written out in hash order.  We don't want to incur the expense of always
sorting the log as we write it out, so instead this commit fixes the
problem by sorting the log as it reads it, using the "test-json" program.
tests/ovsdb-tool.at