mirror of
https://git.yoctoproject.org/meta-security
synced 2026-01-11 15:00:34 +00:00
oeqa: shut done swtpm before and after testing
fixes: swtpm: Could not open TCP socket: Address already in use Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
@@ -12,8 +12,13 @@ from oeqa.core.decorator.data import skipIfNotFeature
|
||||
class ParsecTest(OERuntimeTestCase):
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
cls.tc.target.run('swtpm_ioctl -s --tcp :2322')
|
||||
cls.toml_file = '/etc/parsec/config.toml'
|
||||
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
cls.tc.target.run('swtpm_ioctl -s --tcp :2322')
|
||||
|
||||
def setUp(self):
|
||||
super(ParsecTest, self).setUp()
|
||||
if 'systemd' in self.tc.td['DISTRO_FEATURES']:
|
||||
|
||||
Reference in New Issue
Block a user