summaryrefslogtreecommitdiff
path: root/smoketest/scripts/system/test_kernel_options.py
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2026-08-21 08:00:50 -0500
committerGitHub <noreply@github.com>2026-08-21 08:00:50 -0500
commit0712fac9dddb4dbfede4409867d2973ccbfb5aa2 (patch)
tree54b01fae4c493735918efb5229b613017521fe74 /smoketest/scripts/system/test_kernel_options.py
parentac99e72affedc97c62d47d2391ade14fd6c2e884 (diff)
parent7b960007e817b722596b7e388577d73ad7a87ed7 (diff)
downloadvyos-1x-0712fac9dddb4dbfede4409867d2973ccbfb5aa2.tar.gz
vyos-1x-0712fac9dddb4dbfede4409867d2973ccbfb5aa2.zip
Merge pull request #5325 from alexandr-san4ez/T8868-rolling
kdump: T8868: Implement kernel crash dump support
Diffstat (limited to 'smoketest/scripts/system/test_kernel_options.py')
-rwxr-xr-xsmoketest/scripts/system/test_kernel_options.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/smoketest/scripts/system/test_kernel_options.py b/smoketest/scripts/system/test_kernel_options.py
index c39d5a26b..9cecf561f 100755
--- a/smoketest/scripts/system/test_kernel_options.py
+++ b/smoketest/scripts/system/test_kernel_options.py
@@ -168,6 +168,18 @@ class TestKernelModules(unittest.TestCase):
tmp = re.findall(f'{option}=y', self._config_data)
self.assertTrue(tmp)
+ def test_kdump(self):
+ options = [
+ 'CONFIG_KEXEC',
+ 'CONFIG_CRASH_DUMP',
+ 'CONFIG_DEBUG_INFO',
+ 'CONFIG_PROC_VMCORE',
+ ]
+ for option in options:
+ with self.subTest(option=option):
+ tmp = re.findall(f'{option}=y', self._config_data)
+ self.assertTrue(tmp, msg='Required kdump option must be enabled')
+
def test_openvpn_dco(self):
options_to_check = ['CONFIG_OVPN']
for option in options_to_check: