diff options
Diffstat (limited to 'smoketest/scripts/system/test_kernel_options.py')
| -rwxr-xr-x | smoketest/scripts/system/test_kernel_options.py | 12 |
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: |
