From a394e6939c0ec4a59664a83a4ce25a893cc6a17e Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 4 Apr 2021 21:17:53 +0200 Subject: smoketest: l2tpv3: unload kernel modules after test --- smoketest/scripts/cli/test_interfaces_l2tpv3.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'smoketest') diff --git a/smoketest/scripts/cli/test_interfaces_l2tpv3.py b/smoketest/scripts/cli/test_interfaces_l2tpv3.py index 24cb9464e..a2091ff10 100755 --- a/smoketest/scripts/cli/test_interfaces_l2tpv3.py +++ b/smoketest/scripts/cli/test_interfaces_l2tpv3.py @@ -58,4 +58,7 @@ class GeneveInterfaceTest(BasicInterfaceTest.TestCase): if __name__ == '__main__': + # when re-running this test, cleanup loaded modules first so they are + # reloaded on demand - not needed but test more and more features + cmd('sudo rmmod l2tp_ip6 l2tp_eth l2tp_eth l2tp_netlink l2tp_core') unittest.main(verbosity=2) -- cgit v1.2.3