summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2019-03-12 14:31:18 +0100
committerPatrick Vacek <patrickvacek@gmail.com>2019-04-29 09:22:31 +0200
commitfdc57ebdb9e69a94d3e01130623b6960dcc1ba0a (patch)
treed3e45daa3467acd793c89e071a76899863b40a82 /lib
parent1e31e931f3e0d61dd5a01fff8179c0a3d15ea70b (diff)
downloadmeta-updater-fdc57ebdb9e69a94d3e01130623b6960dcc1ba0a.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')
-rw-r--r--lib/oeqa/selftest/cases/updater.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oeqa/selftest/cases/updater.py b/lib/oeqa/selftest/cases/updater.py
index 550d9de..a09a594 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')