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-03-12 14:31:18 +0100
commitb6b6bff264a451a2eb3eec44125633da0c1da6ce (patch)
tree9ed6092dbc93d7302be9c8616ea402005e946f91 /lib
parentdd5b94762fa5d76a80ffc53104084d3c73928ce5 (diff)
downloadmeta-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')
-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 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')