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-09 16:31:55 +0100
commitc7592b01478def091b6787412390c61e7ce0a0cd (patch)
tree3c2f26480c6e16fae0ad65b032e3dc0fccfca71b /meta/lib/oeqa/runtime/cases/logrotate.py
parentc0dc72bad92e2e4dc0aedb48b969709f821baf73 (diff)
downloadpoky-c7592b01478def091b6787412390c61e7ce0a0cd.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: 8e2d0575e4e7036b5f60e632f377a8ab2b96ead8) 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')