summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-04-04 21:17:53 +0200
committerChristian Poessinger <christian@poessinger.com>2021-04-04 21:17:53 +0200
commita394e6939c0ec4a59664a83a4ce25a893cc6a17e (patch)
treec5949f5f09b7ebba4017d653a83d9fe5bfa4c13a
parent89db4e6cb9363527666f98f96548f5bd262c9434 (diff)
downloadvyos-1x-a394e6939c0ec4a59664a83a4ce25a893cc6a17e.tar.gz
vyos-1x-a394e6939c0ec4a59664a83a4ce25a893cc6a17e.zip
smoketest: l2tpv3: unload kernel modules after test
-rwxr-xr-xsmoketest/scripts/cli/test_interfaces_l2tpv3.py3
1 files changed, 3 insertions, 0 deletions
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)