autotest: Use modprobe for kernel module unloading
authorChristoph Jaeger <cj@linux.com>
Mon, 26 Jan 2015 16:26:12 +0000 (11:26 -0500)
committerAndy Zhou <azhou@nicira.com>
Thu, 29 Jan 2015 21:39:08 +0000 (13:39 -0800)
commit95bad473da71b36cca86553c3d5a71138f06c55a
tree14fa1c29d203e4bbb1a8e5ac88ccf28ca328bc1c
parent7905aae3fc1633c2c44c8fdb9e9d3a3d6e63439b
autotest: Use modprobe for kernel module unloading

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 <cj@linux.com>
Signed-off-by: Andy Zhou <azhou@nicira.com>
tests/automake.mk