[ovs-git] Open vSwitch: check-structs: Add check that OFP_ASSERT is checking the right structures. (master)

dev at openvswitch.org dev at openvswitch.org
Tue Oct 4 16:27:36 UTC 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  f937ccc2321d9bcb946fca249ec718531553a9bc (commit)
      from  3021ea6074bcc5a5bc7f1434ade97d84759e8d14 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f937ccc2321d9bcb946fca249ec718531553a9bc
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=f937ccc2321d9bcb946fca249ec718531553a9bc
Author: Ben Pfaff <blp at nicira.com>
		
check-structs: Add check that OFP_ASSERT is checking the right structures.
		
This avoids a fairly common issue in which a developer cuts and pastes a
structure definition and forgets to update the structure name inside the
OFP_ASSERT, so that the new structure's size doesn't really get checked at
all.


-----------------------------------------------------------------------

Summary of changes:
 build-aux/check-structs |    7 ++++++-
 tests/check-structs.at  |   17 ++++++++++++++++-
 2 files changed, 22 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list