summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime/cases/logrotate.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-08 16:56:32 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-20 14:38:16 +0100
commit10e1b48a9e2d726229a0245339bf7be21ad9ca53 (patch)
treefc1e31a00d193490e4b5b65f9af04372a6e57693 /meta/lib/oeqa/runtime/cases/logrotate.py
parent64fa42868df98dd87fb1f5ad74977ac833936cb5 (diff)
downloadpoky-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.py3
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
4from oeqa.runtime.case import OERuntimeTestCase 4from oeqa.runtime.case import OERuntimeTestCase
5from oeqa.core.decorator.depends import OETestDepends 5from oeqa.core.decorator.depends import OETestDepends
6from oeqa.core.decorator.oeid import OETestID
7from oeqa.runtime.decorator.package import OEHasPackage 6from oeqa.runtime.decorator.package import OEHasPackage
8 7
9class LogrotateTest(OERuntimeTestCase): 8class 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')