diff options
-rw-r--r-- | meta/lib/oeqa/runtime/cases/logrotate.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/lib/oeqa/runtime/cases/logrotate.py b/meta/lib/oeqa/runtime/cases/logrotate.py index 3938e91993..a4efcd07c0 100644 --- a/meta/lib/oeqa/runtime/cases/logrotate.py +++ b/meta/lib/oeqa/runtime/cases/logrotate.py | |||
@@ -37,10 +37,6 @@ class LogrotateTest(OERuntimeTestCase): | |||
37 | msg = ('Could not write to /tmp/logrotate-test.conf') | 37 | msg = ('Could not write to /tmp/logrotate-test.conf') |
38 | self.assertEqual(status, 0, msg = msg) | 38 | self.assertEqual(status, 0, msg = msg) |
39 | 39 | ||
40 | status, output = self.target.run('echo "/var/log/logrotate_test {\\n missingok \\n monthly \\n rotate 1" > /etc/logrotate.d/logrotate_test') | ||
41 | msg = ('Could not write to /etc/logrotate.d/logrotate_test') | ||
42 | self.assertEqual(status, 0, msg = msg) | ||
43 | |||
44 | # If logrotate fails to rotate the log, view the verbose output of logrotate to see what prevented it | 40 | # If logrotate fails to rotate the log, view the verbose output of logrotate to see what prevented it |
45 | _, logrotate_output = self.target.run('logrotate -vf /tmp/logrotate-test.conf') | 41 | _, logrotate_output = self.target.run('logrotate -vf /tmp/logrotate-test.conf') |
46 | status, _ = self.target.run('find $HOME/logrotate_dir -type f | grep wtmp.1') | 42 | status, _ = self.target.run('find $HOME/logrotate_dir -type f | grep wtmp.1') |