diff options
Diffstat (limited to 'meta/lib/oeqa/runtime/logrotate.py')
-rw-r--r-- | meta/lib/oeqa/runtime/logrotate.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oeqa/runtime/logrotate.py b/meta/lib/oeqa/runtime/logrotate.py index 80489a3267..86d791c300 100644 --- a/meta/lib/oeqa/runtime/logrotate.py +++ b/meta/lib/oeqa/runtime/logrotate.py | |||
@@ -19,6 +19,7 @@ class LogrotateTest(oeRuntimeTest): | |||
19 | (status, output) = self.target.run("sed -i 's#wtmp {#wtmp {\\n olddir /home/root/logrotate_dir#' /etc/logrotate.conf") | 19 | (status, output) = self.target.run("sed -i 's#wtmp {#wtmp {\\n olddir /home/root/logrotate_dir#' /etc/logrotate.conf") |
20 | self.assertEqual(status, 0, msg = "Could not write to logrotate.conf file. Status and output: %s and %s)" % (status, output)) | 20 | self.assertEqual(status, 0, msg = "Could not write to logrotate.conf file. Status and output: %s and %s)" % (status, output)) |
21 | 21 | ||
22 | @testcase(289) | ||
22 | @skipUnlessPassed("test_1_logrotate_setup") | 23 | @skipUnlessPassed("test_1_logrotate_setup") |
23 | def test_2_logrotate(self): | 24 | def test_2_logrotate(self): |
24 | (status, output) = self.target.run('logrotate -f /etc/logrotate.conf') | 25 | (status, output) = self.target.run('logrotate -f /etc/logrotate.conf') |