diff options
Diffstat (limited to 'smoketest/scripts/system')
-rwxr-xr-x | smoketest/scripts/system/test_kernel_options.py | 10 | ||||
-rwxr-xr-x | smoketest/scripts/system/test_module_load.py | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/smoketest/scripts/system/test_kernel_options.py b/smoketest/scripts/system/test_kernel_options.py index 043567c4f..4d9cbacbe 100755 --- a/smoketest/scripts/system/test_kernel_options.py +++ b/smoketest/scripts/system/test_kernel_options.py @@ -29,13 +29,13 @@ class TestKernelModules(unittest.TestCase): available in the Kernel that is run. """ def test_bond_interface(self): - """ The bond/lacp interface must be enabled in the OS Kernel """ + # The bond/lacp interface must be enabled in the OS Kernel for option in ['CONFIG_BONDING']: tmp = re.findall(f'{option}=(y|m)', config) self.assertTrue(tmp) def test_bridge_interface(self): - """ The bridge interface must be enabled in the OS Kernel """ + # The bridge interface must be enabled in the OS Kernel for option in ['CONFIG_BRIDGE', 'CONFIG_BRIDGE_IGMP_SNOOPING', 'CONFIG_BRIDGE_VLAN_FILTERING']: @@ -43,7 +43,7 @@ class TestKernelModules(unittest.TestCase): self.assertTrue(tmp) def test_qemu_support(self): - """ The bond/lacp interface must be enabled in the OS Kernel """ + # The bond/lacp interface must be enabled in the OS Kernel for option in ['CONFIG_VIRTIO_BLK', 'CONFIG_SCSI_VIRTIO', 'CONFIG_VIRTIO_NET', 'CONFIG_VIRTIO_CONSOLE', 'CONFIG_VIRTIO', 'CONFIG_VIRTIO_PCI', @@ -53,11 +53,11 @@ class TestKernelModules(unittest.TestCase): self.assertTrue(tmp) def test_vmware_support(self): - """ The bond/lacp interface must be enabled in the OS Kernel """ + # The bond/lacp interface must be enabled in the OS Kernel for option in ['CONFIG_VMXNET3']: tmp = re.findall(f'{option}=(y|m)', config) self.assertTrue(tmp) if __name__ == '__main__': - unittest.main() + unittest.main(verbosity=2) diff --git a/smoketest/scripts/system/test_module_load.py b/smoketest/scripts/system/test_module_load.py index c3cf0ff92..c781e0199 100755 --- a/smoketest/scripts/system/test_module_load.py +++ b/smoketest/scripts/system/test_module_load.py @@ -40,4 +40,4 @@ class TestKernelModules(unittest.TestCase): self.assertTrue(success) if __name__ == '__main__': - unittest.main() + unittest.main(verbosity=2) |