diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-08 16:56:32 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-20 14:38:16 +0100 |
commit | 10e1b48a9e2d726229a0245339bf7be21ad9ca53 (patch) | |
tree | fc1e31a00d193490e4b5b65f9af04372a6e57693 /meta/lib/oeqa/runtime/cases/logrotate.py | |
parent | 64fa42868df98dd87fb1f5ad74977ac833936cb5 (diff) | |
download | poky-10e1b48a9e2d726229a0245339bf7be21ad9ca53.tar.gz |
oeqa: Drop OETestID
These IDs refer to testopia which we're no longer using. We would now use the test
names to definitively reference tests and the IDs can be dropped, along with their
supporting code.
(From OE-Core rev: 551153b0bd1ebbc05582f6014e3d88b9ce4a46d0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Backported to keep in-sync with future qa changes]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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') |