tests: Fix dependencies on hash function in ofproto-dpif tests.
authorBen Pfaff <blp@nicira.com>
Wed, 16 Jan 2013 05:48:25 +0000 (21:48 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 22 Jan 2013 21:40:49 +0000 (13:40 -0800)
commit432fca235c375c1d56bd6d3049b0b24ce2cb2958
treecc718cca3bf0b82986310f80fcd18b7026785965
parent7aac03bd99c6a8133587853c4e24335ad159d53f
tests: Fix dependencies on hash function in ofproto-dpif tests.

These tests relied on luck to ensure that OpenFlow ports received the
expected OpenFlow port numbers.  With a different hash function, or (I
expect) on a big-endian architecture, the port numbers were assigned
differently and the tests failed.

This commit fixes the problem by requesting the specific expected port
numbers explicitly.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
tests/ofproto-dpif.at