On Tue, May 3, 2016 at 3:44 PM, Joe Stringer <j...@ovn.org> wrote:

> The make check-kmod target would previously attempt to only remove the
> openvswitch module, which would fail if any vport modules were loaded.
> Remove those modules too, to allow the target to proceed.
>
> Signed-off-by: Joe Stringer <j...@ovn.org>
> ---
>  tests/automake.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/automake.mk b/tests/automake.mk
> index 0b77617e5081..a5c60741ce98 100644
> --- a/tests/automake.mk
> +++ b/tests/automake.mk
> @@ -230,7 +230,7 @@ check-kernel: all tests/atconfig tests/atlocal
> $(SYSTEM_KMOD_TESTSUITE)
>  # Testing the out of tree Kernel module
>  check-kmod: all tests/atconfig tests/atlocal $(SYSTEM_KMOD_TESTSUITE)
>         $(MAKE) modules_install
> -       modprobe -r openvswitch
> +       modprobe -r -a vport-geneve vport-gre vport-lisp vport-stt
> vport-vxlan openvswitch
>         $(MAKE) check-kernel
>
>  check-system-userspace: all tests/atconfig tests/atlocal
> $(SYSTEM_USERSPACE_TESTSUITE)
>

I am not sure if '-a' is required here, but it should not cause problem
either.

Acked-by: Andy Zhou <az...@ovn.org>

--
> 2.1.4
>
>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to