diff options
| -rw-r--r-- | meta-parsec/lib/oeqa/runtime/cases/parsec.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-parsec/lib/oeqa/runtime/cases/parsec.py b/meta-parsec/lib/oeqa/runtime/cases/parsec.py index d3d3f2e..11e5572 100644 --- a/meta-parsec/lib/oeqa/runtime/cases/parsec.py +++ b/meta-parsec/lib/oeqa/runtime/cases/parsec.py | |||
| @@ -12,8 +12,13 @@ from oeqa.core.decorator.data import skipIfNotFeature | |||
| 12 | class ParsecTest(OERuntimeTestCase): | 12 | class ParsecTest(OERuntimeTestCase): |
| 13 | @classmethod | 13 | @classmethod |
| 14 | def setUpClass(cls): | 14 | def setUpClass(cls): |
| 15 | cls.tc.target.run('swtpm_ioctl -s --tcp :2322') | ||
| 15 | cls.toml_file = '/etc/parsec/config.toml' | 16 | cls.toml_file = '/etc/parsec/config.toml' |
| 16 | 17 | ||
| 18 | @classmethod | ||
| 19 | def tearDownClass(cls): | ||
| 20 | cls.tc.target.run('swtpm_ioctl -s --tcp :2322') | ||
| 21 | |||
| 17 | def setUp(self): | 22 | def setUp(self): |
| 18 | super(ParsecTest, self).setUp() | 23 | super(ParsecTest, self).setUp() |
| 19 | if 'systemd' in self.tc.td['DISTRO_FEATURES']: | 24 | if 'systemd' in self.tc.td['DISTRO_FEATURES']: |
