summaryrefslogtreecommitdiffstats
path: root/lib/oeqa
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:05 +0100
commit7795379d5c6aa7d3396c0153cc2557097b2a39d6 (patch)
tree53d001666e11826823061d708c3333f561ced7cd /lib/oeqa
parent982fdf09b34911608b2bffe0bca3577e1e6933dc (diff)
downloadmeta-updater-feat/rocko-latest-aktualizr.tar.gz
Fix oe-selftest for `aktualizr once`feat/rocko-latest-aktualizr
CLI has changed Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
Diffstat (limited to 'lib/oeqa')
-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 228b8a6..fd37e85 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,