diff options
| -rw-r--r-- | meta/lib/oeqa/runtime/cases/rpm.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/meta/lib/oeqa/runtime/cases/rpm.py b/meta/lib/oeqa/runtime/cases/rpm.py index 8e18b426f8..7a9d62c003 100644 --- a/meta/lib/oeqa/runtime/cases/rpm.py +++ b/meta/lib/oeqa/runtime/cases/rpm.py | |||
| @@ -141,13 +141,4 @@ class RpmInstallRemoveTest(OERuntimeTestCase): | |||
| 141 | 141 | ||
| 142 | self.tc.target.run('rm -f %s' % self.dst) | 142 | self.tc.target.run('rm -f %s' % self.dst) |
| 143 | 143 | ||
| 144 | # if using systemd this should ensure all entries are flushed to /var | ||
| 145 | status, output = self.target.run("journalctl --sync") | ||
| 146 | # Get the amount of entries in the log file | ||
| 147 | status, output = self.target.run(check_log_cmd) | ||
| 148 | msg = 'Failed to get the final size of the log file.' | ||
| 149 | self.assertEqual(0, status, msg=msg) | ||
| 150 | 144 | ||
| 151 | # Check that there's enough of them | ||
| 152 | self.assertGreaterEqual(int(output), 80, | ||
| 153 | 'Cound not find sufficient amount of rpm entries in /var/log/messages, found {} entries'.format(output)) | ||
