ofp-print: Add tests for OpenFlow message formatting.
authorBen Pfaff <blp@nicira.com>
Wed, 12 Jan 2011 21:57:53 +0000 (13:57 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 12 Jan 2011 21:57:53 +0000 (13:57 -0800)
commitfec00620d6f2a011a0a1c1a18e0d061f59606113
tree6d16c36e5ab2df2382ae632738298f01be88cefb
parentfbd76b2eefbb48ada78624f63d7c94f7e8a0ce7a
ofp-print: Add tests for OpenFlow message formatting.

It's become clear over the past few weeks that some people really depend
on the formatting of ofp-print output.  It has also become clear that OVS
doesn't have anything that actually checks or enforces the formatting of
the output.  The former is not something I want to encourage, but the
latter is somewhat worrisome because the formatting does change from time
to time and I want to make sure that that is intentional.

So this commit adds at least one test for each supported OpenFlow and
Nicira extension message, so that we can better keep track of changes.
tests/automake.mk
tests/ofp-print.at [new file with mode: 0644]
tests/testsuite.at
utilities/ovs-ofctl.c