======================================================================
FAIL: test_265_config_retpoline (__main__.KernelSecurityConfigTest)
Ensure retpoline configuration option is set
----------------------------------------------------------------------
Traceback (most recent call last):
File "./test-kernel-security.py", line 2445, in test_265_config_retpoline
self.assertKernelConfig('RETPOLINE', expected)
File "./test-kernel-security.py", line 209, in assertKernelConfig
self.assertKernelConfigUnset(name)
File "./test-kernel-security.py", line 200, in assertKernelConfigUnset
'%s option was expected to be unset in the kernel config' % name)
AssertionError: RETPOLINE option was expected to be unset in the kernel config
In this test case, this config was expected to be NOT set:
elif self.lsb_release['Release'] == 12.04: self._skipped("RETPOLINE compiler not in precise")
expected = False
self.assertKernelConfig('RETPOLINE', expected)
====== ======= ======= ======= ======= ======= ======= ======= ======= ======= = config_ retpoline (__main_ _.KernelSecurit yConfigTest) ------- ------- ------- ------- ------- ------- ------- ------- ------- - kernel- security. py", line 2445, in test_265_ config_ retpoline nelConfig( 'RETPOLINE' , expected) kernel- security. py", line 209, in assertKernelConfig nelConfigUnset( name) kernel- security. py", line 200, in assertKernelCon figUnset
FAIL: test_265_
Ensure retpoline configuration option is set
------
Traceback (most recent call last):
File "./test-
self.assertKer
File "./test-
self.assertKer
File "./test-
'%s option was expected to be unset in the kernel config' % name)
AssertionError: RETPOLINE option was expected to be unset in the kernel config
In this test case, this config was expected to be NOT set: release[ 'Release' ] == 12.04:
self._ skipped( "RETPOLINE compiler not in precise") assertKernelCon fig('RETPOLINE' , expected)
elif self.lsb_
expected = False
self.
But in the kernel it's:
CONFIG_RETPOLINE=y