diff options
Diffstat (limited to 'meta/lib/oeqa/runtime/cases/logrotate.py')
| -rw-r--r-- | meta/lib/oeqa/runtime/cases/logrotate.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/meta/lib/oeqa/runtime/cases/logrotate.py b/meta/lib/oeqa/runtime/cases/logrotate.py index d2666444e9..dc3b271445 100644 --- a/meta/lib/oeqa/runtime/cases/logrotate.py +++ b/meta/lib/oeqa/runtime/cases/logrotate.py | |||
| @@ -3,7 +3,6 @@ | |||
| 3 | 3 | ||
| 4 | from oeqa.runtime.case import OERuntimeTestCase | 4 | from oeqa.runtime.case import OERuntimeTestCase |
| 5 | from oeqa.core.decorator.depends import OETestDepends | 5 | from oeqa.core.decorator.depends import OETestDepends |
| 6 | from oeqa.core.decorator.oeid import OETestID | ||
| 7 | from oeqa.runtime.decorator.package import OEHasPackage | 6 | from oeqa.runtime.decorator.package import OEHasPackage |
| 8 | 7 | ||
| 9 | class LogrotateTest(OERuntimeTestCase): | 8 | class LogrotateTest(OERuntimeTestCase): |
| @@ -16,7 +15,6 @@ class LogrotateTest(OERuntimeTestCase): | |||
| 16 | def tearDownClass(cls): | 15 | def tearDownClass(cls): |
| 17 | cls.tc.target.run('mv -f $HOME/wtmp.oeqabak /etc/logrotate.d/wtmp && rm -rf $HOME/logrotate_dir') | 16 | cls.tc.target.run('mv -f $HOME/wtmp.oeqabak /etc/logrotate.d/wtmp && rm -rf $HOME/logrotate_dir') |
| 18 | 17 | ||
| 19 | @OETestID(1544) | ||
| 20 | @OETestDepends(['ssh.SSHTest.test_ssh']) | 18 | @OETestDepends(['ssh.SSHTest.test_ssh']) |
| 21 | @OEHasPackage(['logrotate']) | 19 | @OEHasPackage(['logrotate']) |
| 22 | def test_1_logrotate_setup(self): | 20 | def test_1_logrotate_setup(self): |
| @@ -31,7 +29,6 @@ class LogrotateTest(OERuntimeTestCase): | |||
| 31 | ' %s and %s' % (status, output)) | 29 | ' %s and %s' % (status, output)) |
| 32 | self.assertEqual(status, 0, msg = msg) | 30 | self.assertEqual(status, 0, msg = msg) |
| 33 | 31 | ||
| 34 | @OETestID(1542) | ||
| 35 | @OETestDepends(['logrotate.LogrotateTest.test_1_logrotate_setup']) | 32 | @OETestDepends(['logrotate.LogrotateTest.test_1_logrotate_setup']) |
| 36 | def test_2_logrotate(self): | 33 | def test_2_logrotate(self): |
| 37 | status, output = self.target.run('logrotate -f /etc/logrotate.conf') | 34 | status, output = self.target.run('logrotate -f /etc/logrotate.conf') |
