diff --git a/tests/system-kmod-macros.at b/tests/system-kmod-macros.at index 8e60929692b..cee0510bda9 100644 --- a/tests/system-kmod-macros.at +++ b/tests/system-kmod-macros.at @@ -20,7 +20,8 @@ m4_define([OVS_TRAFFIC_VSWITCHD_START], on_exit 'modprobe -r openvswitch' m4_foreach([mod], [[vport_geneve], [vport_gre], [vport_lisp], [vport_stt], [vport_vxlan]], [modprobe -q mod || echo "Module mod not loaded." - on_exit 'modprobe -q -r mod']) + on_exit 'modprobe -q -r mod' + ]) on_exit 'ovs-dpctl del-dp ovs-system' _OVS_VSWITCHD_START([]) dnl Add bridges, ports, etc.