Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
autotest: Fix kernel module unit test teardown
Due to a misnaming, the macro calls OVS_SWITCHD_STOP([$1]) AT_CHECK([modprobe -r openvswitch]) in OVS_KMOD_VSWITCHD_STOP make up a syntactically correct function definition (OVS_SWITCHD_STOP does not exist, and therefore the call does not expand): OVS_SWITCHD_STOP() { set +x $as_echo "$at_srcdir/kmod-traffic.at:15: modprobe -r openvswitch" ... $at_traceon; } Consequently, neither of the calls has the intended effect, i.e., stopping ovs-vswitchd and ovsdb-server, checking their log files, and unloading the datapath kernel module. Fix the misnaming, so all calls expand properly. Fixes: 69c2bdf ("autotest: add autotest framework for adding kernel module unit tests") Signed-off-by: Christoph Jaeger <[email protected]> Signed-off-by: Andy Zhou <[email protected]> Author: add Christoph Jaeger
- Loading branch information