summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLaurent Bonnans <laurent.bonnans@here.com>2019-01-28 14:51:54 +0100
committerLaurent Bonnans <laurent.bonnans@here.com>2019-01-29 16:54:01 +0100
commit6073016e2c41470a62961741e85f9bc5dd766972 (patch)
tree9cd29468af9f9aefa8231e47106107196150cde9 /lib
parent386db56398a130bcff5b06d82faf960f5ca51423 (diff)
downloadmeta-updater-6073016e2c41470a62961741e85f9bc5dd766972.tar.gz
Fix oe-selftest for `aktualizr once`feat/thud-latest-aktualizr
CLI has changed Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/oeqa/selftest/cases/updater.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/oeqa/selftest/cases/updater.py b/lib/oeqa/selftest/cases/updater.py
index 92bf6fc..08521d5 100644
--- a/lib/oeqa/selftest/cases/updater.py
+++ b/lib/oeqa/selftest/cases/updater.py
@@ -214,7 +214,7 @@ class ManualControlTests(OESelftestTestCase):
214 def qemu_command(self, command): 214 def qemu_command(self, command):
215 return qemu_send_command(self.qemu.ssh_port, command) 215 return qemu_send_command(self.qemu.ssh_port, command)
216 216
217 def test_manual_running_mode_once(self): 217 def test_manual_run_mode_once(self):
218 """ 218 """
219 Disable the systemd service then run aktualizr manually 219 Disable the systemd service then run aktualizr manually
220 """ 220 """
@@ -223,7 +223,7 @@ class ManualControlTests(OESelftestTestCase):
223 self.assertIn(b'Can\'t open database', stdout, 223 self.assertIn(b'Can\'t open database', stdout,
224 'Aktualizr should not have run yet' + stderr.decode() + stdout.decode()) 224 'Aktualizr should not have run yet' + stderr.decode() + stdout.decode())
225 225
226 stdout, stderr, retcode = self.qemu_command('aktualizr --running-mode=once') 226 stdout, stderr, retcode = self.qemu_command('aktualizr once')
227 227
228 stdout, stderr, retcode = self.qemu_command('aktualizr-info') 228 stdout, stderr, retcode = self.qemu_command('aktualizr-info')
229 self.assertIn(b'Fetched metadata: yes', stdout, 229 self.assertIn(b'Fetched metadata: yes', stdout,