summaryrefslogtreecommitdiff
path: root/smoketest/scripts/system
diff options
context:
space:
mode:
Diffstat (limited to 'smoketest/scripts/system')
-rwxr-xr-xsmoketest/scripts/system/test_kernel_options.py34
-rwxr-xr-xsmoketest/scripts/system/test_module_load.py1
2 files changed, 32 insertions, 3 deletions
diff --git a/smoketest/scripts/system/test_kernel_options.py b/smoketest/scripts/system/test_kernel_options.py
index 2f3c54c79..d9b7740c1 100755
--- a/smoketest/scripts/system/test_kernel_options.py
+++ b/smoketest/scripts/system/test_kernel_options.py
@@ -52,7 +52,7 @@ class TestKernelModules(unittest.TestCase):
def test_bridge_interface(self):
# The bridge interface must be enabled in the OS Kernel
- for option in ['CONFIG_BRIDGE',
+ for option in ['CONFIG_STP', 'CONFIG_BRIDGE',
'CONFIG_BRIDGE_IGMP_SNOOPING',
'CONFIG_BRIDGE_VLAN_FILTERING']:
tmp = re.findall(f'{option}=(y|m)', self._config_data)
@@ -146,7 +146,7 @@ class TestKernelModules(unittest.TestCase):
self.assertTrue(tmp)
def test_inotify_stackfs(self):
- for option in ['CONFIG_INOTIFY_USER', 'CONFIG_INOTIFY_STACKFS']:
+ for option in ['CONFIG_INOTIFY_USER']:
tmp = re.findall(f'{option}=y', self._config_data)
self.assertTrue(tmp)
@@ -173,6 +173,36 @@ class TestKernelModules(unittest.TestCase):
tmp = re.findall(f'{option}=y', self._config_data)
self.assertTrue(tmp)
+ def test_openvpn_dco(self):
+ options_to_check = ['CONFIG_OVPN']
+ for option in options_to_check:
+ tmp = re.findall(f'{option}=(y|m)', self._config_data)
+ self.assertTrue(tmp)
+
+ def test_wireguard(self):
+ options_to_check = ['CONFIG_WIREGUARD']
+ for option in options_to_check:
+ tmp = re.findall(f'{option}=(y|m)', self._config_data)
+ self.assertTrue(tmp)
+
+ def test_vxlan(self):
+ options_to_check = ['CONFIG_VXLAN']
+ for option in options_to_check:
+ tmp = re.findall(f'{option}=(y|m)', self._config_data)
+ self.assertTrue(tmp)
+
+ def test_macvlan(self):
+ options_to_check = ['CONFIG_MACVLAN', 'CONFIG_MACVTAP']
+ for option in options_to_check:
+ tmp = re.findall(f'{option}=(y|m)', self._config_data)
+ self.assertTrue(tmp)
+
+ def test_dummy(self):
+ options_to_check = ['CONFIG_DUMMY']
+ for option in options_to_check:
+ tmp = re.findall(f'{option}=(y|m)', self._config_data)
+ self.assertTrue(tmp)
+
def test_arm64(self):
# Only required on arm64 platforms
if not IS_ARM64:
diff --git a/smoketest/scripts/system/test_module_load.py b/smoketest/scripts/system/test_module_load.py
index 29fbb407d..5570d74df 100755
--- a/smoketest/scripts/system/test_module_load.py
+++ b/smoketest/scripts/system/test_module_load.py
@@ -24,7 +24,6 @@ modules = {
"qat_c62x", "qat_c62xvf", "qat_d15xx", "qat_d15xxvf",
"qat_dh895xcc", "qat_dh895xccvf"],
"accel_ppp": ["ipoe", "vlan_mon"],
- "openvpn": ["ovpn-dco-v2"]
}
class TestKernelModules(unittest.TestCase):