diff options
author | Patrick Vacek <patrickvacek@gmail.com> | 2019-03-12 14:31:18 +0100 |
---|---|---|
committer | Patrick Vacek <patrickvacek@gmail.com> | 2019-03-12 14:31:18 +0100 |
commit | b6b6bff264a451a2eb3eec44125633da0c1da6ce (patch) | |
tree | 9ed6092dbc93d7302be9c8616ea402005e946f91 /lib/oeqa/selftest/cases | |
parent | dd5b94762fa5d76a80ffc53104084d3c73928ce5 (diff) | |
download | meta-updater-b6b6bff264a451a2eb3eec44125633da0c1da6ce.tar.gz |
oe-selftest: look for expected error in stderr.
The output was moved from stdout to stderr in a recent aktualizr commit.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
Diffstat (limited to 'lib/oeqa/selftest/cases')
-rw-r--r-- | lib/oeqa/selftest/cases/updater.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oeqa/selftest/cases/updater.py b/lib/oeqa/selftest/cases/updater.py index 898096c..473b2a8 100644 --- a/lib/oeqa/selftest/cases/updater.py +++ b/lib/oeqa/selftest/cases/updater.py | |||
@@ -191,7 +191,7 @@ class ManualControlTests(OESelftestTestCase): | |||
191 | """ | 191 | """ |
192 | sleep(20) | 192 | sleep(20) |
193 | stdout, stderr, retcode = self.qemu_command('aktualizr-info') | 193 | stdout, stderr, retcode = self.qemu_command('aktualizr-info') |
194 | self.assertIn(b'Can\'t open database', stdout, | 194 | self.assertIn(b'Can\'t open database', stderr, |
195 | 'Aktualizr should not have run yet' + stderr.decode() + stdout.decode()) | 195 | 'Aktualizr should not have run yet' + stderr.decode() + stdout.decode()) |
196 | 196 | ||
197 | stdout, stderr, retcode = self.qemu_command('aktualizr once') | 197 | stdout, stderr, retcode = self.qemu_command('aktualizr once') |