[ovs-dev] [PATCH 3/3] expr: Add additional invariant check in test.

Numan Siddique nusiddiq at redhat.com
Wed Feb 7 12:58:05 UTC 2018


On Tue, Feb 6, 2018 at 11:30 PM, Ben Pfaff <blp at ovn.org> wrote:

> Signed-off-by: Ben Pfaff <blp at ovn.org>
>

Acked-by: Numan Siddique <nusiddiq at redhat.com>

Thanks
Numan


> ---
>  tests/test-ovn.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/tests/test-ovn.c b/tests/test-ovn.c
> index d4dfc8151d9e..74527531870d 100644
> --- a/tests/test-ovn.c
> +++ b/tests/test-ovn.c
> @@ -871,6 +871,7 @@ test_tree_shape_exhaustively(struct expr *expr,
> struct shash *symtab,
>
>              if (operation >= OP_NORMALIZE) {
>                  modified = expr_normalize(modified);
> +                ovs_assert(expr_honors_invariants(modified));
>                  ovs_assert(expr_is_normalized(modified));
>              }
>          }
> --
> 2.15.1
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>


More information about the dev mailing list