diff options
| author | Patrick Vacek <patrickvacek@gmail.com> | 2019-03-12 14:31:18 +0100 |
|---|---|---|
| committer | Patrick Vacek <patrickvacek@gmail.com> | 2019-04-29 09:22:34 +0200 |
| commit | 2dc4ee2bb29ae9e46fc571daa29053ecef9ad0d3 (patch) | |
| tree | 017e487e07d7096faeb8be819433bd00975719b9 | |
| parent | 37a4ffee25eaf88cfeba9aa965b7e9b93952c3c0 (diff) | |
| download | meta-updater-2dc4ee2bb29ae9e46fc571daa29053ecef9ad0d3.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>
| -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 008ba4b..bf2a737 100644 --- a/lib/oeqa/selftest/cases/updater.py +++ b/lib/oeqa/selftest/cases/updater.py | |||
| @@ -187,7 +187,7 @@ class ManualControlTests(OESelftestTestCase): | |||
| 187 | """ | 187 | """ |
| 188 | sleep(20) | 188 | sleep(20) |
| 189 | stdout, stderr, retcode = self.qemu_command('aktualizr-info') | 189 | stdout, stderr, retcode = self.qemu_command('aktualizr-info') |
| 190 | self.assertIn(b'Can\'t open database', stdout, | 190 | self.assertIn(b'Can\'t open database', stderr, |
| 191 | 'Aktualizr should not have run yet' + stderr.decode() + stdout.decode()) | 191 | 'Aktualizr should not have run yet' + stderr.decode() + stdout.decode()) |
| 192 | 192 | ||
| 193 | stdout, stderr, retcode = self.qemu_command('aktualizr once') | 193 | stdout, stderr, retcode = self.qemu_command('aktualizr once') |
