diff options
Diffstat (limited to 'lib/oeqa')
-rw-r--r-- | lib/oeqa/selftest/cases/updater.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/oeqa/selftest/cases/updater.py b/lib/oeqa/selftest/cases/updater.py index 7ef834e..7d1f36e 100644 --- a/lib/oeqa/selftest/cases/updater.py +++ b/lib/oeqa/selftest/cases/updater.py | |||
@@ -150,8 +150,6 @@ class AutoProvTests(OESelftestTestCase): | |||
150 | self.meta_qemu = None | 150 | self.meta_qemu = None |
151 | self.append_config('MACHINE = "qemux86-64"') | 151 | self.append_config('MACHINE = "qemux86-64"') |
152 | self.append_config('SOTA_CLIENT_PROV = " aktualizr-auto-prov "') | 152 | self.append_config('SOTA_CLIENT_PROV = " aktualizr-auto-prov "') |
153 | # Test aktualizr-example-interface package. | ||
154 | self.append_config('IMAGE_INSTALL_append = " aktualizr-examples aktualizr-example-interface "') | ||
155 | self.qemu, self.s = qemu_launch(machine='qemux86-64') | 153 | self.qemu, self.s = qemu_launch(machine='qemux86-64') |
156 | 154 | ||
157 | def tearDownLocal(self): | 155 | def tearDownLocal(self): |
@@ -185,12 +183,6 @@ class AutoProvTests(OESelftestTestCase): | |||
185 | self.assertTrue(ran_ok, 'aktualizr-info failed: ' + stderr.decode() + stdout.decode()) | 183 | self.assertTrue(ran_ok, 'aktualizr-info failed: ' + stderr.decode() + stdout.decode()) |
186 | 184 | ||
187 | verifyProvisioned(self, machine) | 185 | verifyProvisioned(self, machine) |
188 | # Test aktualizr-example-interface package. | ||
189 | stdout, stderr, retcode = self.qemu_command('aktualizr-info') | ||
190 | self.assertIn(b'hardware ID: example1', stdout, | ||
191 | 'Legacy secondary initialization failed: ' + stderr.decode() + stdout.decode()) | ||
192 | self.assertIn(b'hardware ID: example2', stdout, | ||
193 | 'Legacy secondary initialization failed: ' + stderr.decode() + stdout.decode()) | ||
194 | 186 | ||
195 | 187 | ||
196 | class ManualControlTests(OESelftestTestCase): | 188 | class ManualControlTests(OESelftestTestCase): |
@@ -562,6 +554,7 @@ class HsmTests(OESelftestTestCase): | |||
562 | 554 | ||
563 | verifyProvisioned(self, machine) | 555 | verifyProvisioned(self, machine) |
564 | 556 | ||
557 | |||
565 | class SecondaryTests(OESelftestTestCase): | 558 | class SecondaryTests(OESelftestTestCase): |
566 | @classmethod | 559 | @classmethod |
567 | def setUpClass(cls): | 560 | def setUpClass(cls): |