diff options
author | Laurent Bonnans <laurent.bonnans@here.com> | 2019-01-28 14:51:54 +0100 |
---|---|---|
committer | Laurent Bonnans <laurent.bonnans@here.com> | 2019-01-28 14:51:54 +0100 |
commit | 52893366bbf554a58572b3a0cbf83e4337a3f026 (patch) | |
tree | 2a3ea8230307dd87d884dfc6af0131d5ea3f073f /lib/oeqa | |
parent | 73e50d717a50616d20faeb5b4cbdf5cb2483aa53 (diff) | |
download | meta-updater-52893366bbf554a58572b3a0cbf83e4337a3f026.tar.gz |
Fix oe-selftest for `aktualizr once`feat/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.py | 4 |
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, |