summaryrefslogtreecommitdiff
path: root/smoketest/scripts/system
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-05-03 19:39:11 +0200
committerChristian Breunig <christian@breunig.cc>2026-05-03 19:39:11 +0200
commit5ec46071d986626766fcda5d5c53267fab63cb25 (patch)
tree146e417c9e1ef72d3c2f882c3466652230e6d3e8 /smoketest/scripts/system
parentf5687329fa70f63ef587a2f0dbeedd9622d19490 (diff)
downloadvyos-1x-5ec46071d986626766fcda5d5c53267fab63cb25.tar.gz
vyos-1x-5ec46071d986626766fcda5d5c53267fab63cb25.zip
smoketest: T8147: add Kernel option tests for MACVLAN
Diffstat (limited to 'smoketest/scripts/system')
-rwxr-xr-xsmoketest/scripts/system/test_kernel_options.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/smoketest/scripts/system/test_kernel_options.py b/smoketest/scripts/system/test_kernel_options.py
index 9d30e6537..a93991c44 100755
--- a/smoketest/scripts/system/test_kernel_options.py
+++ b/smoketest/scripts/system/test_kernel_options.py
@@ -191,6 +191,12 @@ class TestKernelModules(unittest.TestCase):
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_arm64(self):
# Only required on arm64 platforms
if not IS_ARM64: