rmmod fails if the module is not loaded; thus, Vagrant aborts provisioning when started from a clean slate. Use modprobe, which does not fail, instead. Unloading unused modules the to-be-unloaded module depends on may also be desirable.
Signed-off-by: Christoph Jaeger <[email protected]> --- tests/automake.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/automake.mk b/tests/automake.mk index 1fe0799..2dfaff1 100644 --- a/tests/automake.mk +++ b/tests/automake.mk @@ -188,7 +188,7 @@ check-kernel: all tests/atconfig tests/atlocal $(KMOD_TESTSUITE) # Testing the out of tree Kernel module check-kmod: all tests/atconfig tests/atlocal $(KMOD_TESTSUITE) $(MAKE) modules_install - rmmod openvswitch + modprobe -r openvswitch $(MAKE) check-kernel clean-local: -- 2.1.0 _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
