summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2018-10-04 16:45:16 +0200
committerPatrick Vacek <patrickvacek@gmail.com>2018-10-09 09:36:09 +0200
commit2f2add8d986e391c54f1fe44778f907af76186d0 (patch)
tree239d3a7a2ce1d8157cd1fef89983da0494bdad1d /lib
parent751e8b6e46acc957b6ec47c30868835be4c89d52 (diff)
downloadmeta-updater-2f2add8d986e391c54f1fe44778f907af76186d0.tar.gz
aktualizr: remove example-interface.
Diffstat (limited to 'lib')
-rw-r--r--lib/oeqa/selftest/cases/updater.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/oeqa/selftest/cases/updater.py b/lib/oeqa/selftest/cases/updater.py
index 38bdcbf..b555d92 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
196class ManualControlTests(OESelftestTestCase): 188class ManualControlTests(OESelftestTestCase):
@@ -562,6 +554,7 @@ class HsmTests(OESelftestTestCase):
562 554
563 verifyProvisioned(self, machine) 555 verifyProvisioned(self, machine)
564 556
557
565class SecondaryTests(OESelftestTestCase): 558class SecondaryTests(OESelftestTestCase):
566 @classmethod 559 @classmethod
567 def setUpClass(cls): 560 def setUpClass(cls):