diff options
author | Christian Breunig <christian@breunig.cc> | 2025-06-11 22:42:02 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2025-06-11 22:42:02 +0200 |
commit | d4192e0eba4ef7433e6e5aaa42e7b06ba56c606d (patch) | |
tree | 076218c0e2401723cb794f9caa59f4e3742ce91f /smoketest/scripts/system/test_kernel_options.py | |
parent | 5a96b6654b48cd994f3a40172c84b876f4284924 (diff) | |
download | vyos-1x-d4192e0eba4ef7433e6e5aaa42e7b06ba56c606d.tar.gz vyos-1x-d4192e0eba4ef7433e6e5aaa42e7b06ba56c606d.zip |
smoketest: T7539: improve Kernel option check for INOTIFY STACKFS patchset
Diffstat (limited to 'smoketest/scripts/system/test_kernel_options.py')
-rwxr-xr-x | smoketest/scripts/system/test_kernel_options.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/smoketest/scripts/system/test_kernel_options.py b/smoketest/scripts/system/test_kernel_options.py index 84e9c145d..5852104e1 100755 --- a/smoketest/scripts/system/test_kernel_options.py +++ b/smoketest/scripts/system/test_kernel_options.py @@ -143,5 +143,10 @@ class TestKernelModules(unittest.TestCase): tmp = re.findall(f'{option}=3', self._config_data) self.assertTrue(tmp) + def test_inotify_stackfs(self): + for option in ['CONFIG_INOTIFY_USER', 'CONFIG_INOTIFY_STACKFS']: + tmp = re.findall(f'{option}=y', self._config_data) + self.assertTrue(tmp) + if __name__ == '__main__': unittest.main(verbosity=2) |