summaryrefslogtreecommitdiffstats
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:53:38 +0100
commitfadc76ed81b2213ab679f565e38e527f6f510b15 (patch)
treeca2302c53e949097218db4c92bf8d7328c4ee691
parent03a7b0d35aad5eafa5c5ca9bedcc0567ab7eff98 (diff)
downloadmeta-updater-fadc76ed81b2213ab679f565e38e527f6f510b15.tar.gz
Fix oe-selftest for `aktualizr once`feat/sumo-latest-aktualizr
CLI has changed Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
-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 f2ec92a..b857ab6 100644
--- a/lib/oeqa/selftest/cases/updater.py
+++ b/lib/oeqa/selftest/cases/updater.py
@@ -210,7 +210,7 @@ class ManualControlTests(OESelftestTestCase):
210 def qemu_command(self, command): 210 def qemu_command(self, command):
211 return qemu_send_command(self.qemu.ssh_port, command) 211 return qemu_send_command(self.qemu.ssh_port, command)
212 212
213 def test_manual_running_mode_once(self): 213 def test_manual_run_mode_once(self):
214 """ 214 """
215 Disable the systemd service then run aktualizr manually 215 Disable the systemd service then run aktualizr manually
216 """ 216 """
@@ -219,7 +219,7 @@ class ManualControlTests(OESelftestTestCase):
219 self.assertIn(b'Can\'t open database', stdout, 219 self.assertIn(b'Can\'t open database', stdout,
220 'Aktualizr should not have run yet' + stderr.decode() + stdout.decode()) 220 'Aktualizr should not have run yet' + stderr.decode() + stdout.decode())
221 221
222 stdout, stderr, retcode = self.qemu_command('aktualizr --running-mode=once') 222 stdout, stderr, retcode = self.qemu_command('aktualizr once')
223 223
224 stdout, stderr, retcode = self.qemu_command('aktualizr-info') 224 stdout, stderr, retcode = self.qemu_command('aktualizr-info')
225 self.assertIn(b'Fetched metadata: yes', stdout, 225 self.assertIn(b'Fetched metadata: yes', stdout,