This has been helpful finding bugs in my development environment.
It's good to exercise this code.
---
 tests/test-bundle.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/tests/test-bundle.c b/tests/test-bundle.c
index 8a89292..c6c9aec 100644
--- a/tests/test-bundle.c
+++ b/tests/test-bundle.c
@@ -135,6 +135,10 @@ main(int argc, char *argv[])
         flows[i].regs[0] = OFPP_NONE;
     }
 
+    if (bundle_check(nab, 1024)) {
+        ovs_fatal(0, "Bundle action fails to check.");
+    }
+
     /* Cycles through each possible liveness permutation for the given
      * n_slaves.  The initial state is equivalent to all slaves down, so we
      * skip it by starting at i = 1. We do one extra iteration to cover
-- 
1.7.6

_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to