diff options
Diffstat (limited to 'meta/lib/oeqa/runtime/cases/oe_syslog.py')
-rw-r--r-- | meta/lib/oeqa/runtime/cases/oe_syslog.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/meta/lib/oeqa/runtime/cases/oe_syslog.py b/meta/lib/oeqa/runtime/cases/oe_syslog.py index a92a1f2bcb..100d026391 100644 --- a/meta/lib/oeqa/runtime/cases/oe_syslog.py +++ b/meta/lib/oeqa/runtime/cases/oe_syslog.py | |||
@@ -1,12 +1,10 @@ | |||
1 | from oeqa.runtime.case import OERuntimeTestCase | 1 | from oeqa.runtime.case import OERuntimeTestCase |
2 | from oeqa.core.decorator.depends import OETestDepends | 2 | from oeqa.core.decorator.depends import OETestDepends |
3 | from oeqa.core.decorator.oeid import OETestID | ||
4 | from oeqa.core.decorator.data import skipIfDataVar | 3 | from oeqa.core.decorator.data import skipIfDataVar |
5 | from oeqa.runtime.decorator.package import OEHasPackage | 4 | from oeqa.runtime.decorator.package import OEHasPackage |
6 | 5 | ||
7 | class SyslogTest(OERuntimeTestCase): | 6 | class SyslogTest(OERuntimeTestCase): |
8 | 7 | ||
9 | @OETestID(201) | ||
10 | @OETestDepends(['ssh.SSHTest.test_ssh']) | 8 | @OETestDepends(['ssh.SSHTest.test_ssh']) |
11 | @OEHasPackage(["busybox-syslog", "sysklogd", "rsyslog", "syslog-ng"]) | 9 | @OEHasPackage(["busybox-syslog", "sysklogd", "rsyslog", "syslog-ng"]) |
12 | def test_syslog_running(self): | 10 | def test_syslog_running(self): |
@@ -19,7 +17,6 @@ class SyslogTest(OERuntimeTestCase): | |||
19 | 17 | ||
20 | class SyslogTestConfig(OERuntimeTestCase): | 18 | class SyslogTestConfig(OERuntimeTestCase): |
21 | 19 | ||
22 | @OETestID(1149) | ||
23 | @OETestDepends(['oe_syslog.SyslogTest.test_syslog_running']) | 20 | @OETestDepends(['oe_syslog.SyslogTest.test_syslog_running']) |
24 | def test_syslog_logger(self): | 21 | def test_syslog_logger(self): |
25 | status, output = self.target.run('logger foobar') | 22 | status, output = self.target.run('logger foobar') |
@@ -36,7 +33,6 @@ class SyslogTestConfig(OERuntimeTestCase): | |||
36 | ' Output: %s ' % output) | 33 | ' Output: %s ' % output) |
37 | self.assertEqual(status, 0, msg=msg) | 34 | self.assertEqual(status, 0, msg=msg) |
38 | 35 | ||
39 | @OETestID(1150) | ||
40 | @OETestDepends(['oe_syslog.SyslogTest.test_syslog_running']) | 36 | @OETestDepends(['oe_syslog.SyslogTest.test_syslog_running']) |
41 | def test_syslog_restart(self): | 37 | def test_syslog_restart(self): |
42 | if "systemd" != self.tc.td.get("VIRTUAL-RUNTIME_init_manager", ""): | 38 | if "systemd" != self.tc.td.get("VIRTUAL-RUNTIME_init_manager", ""): |
@@ -45,7 +41,6 @@ class SyslogTestConfig(OERuntimeTestCase): | |||
45 | (_, _) = self.target.run('systemctl restart syslog.service') | 41 | (_, _) = self.target.run('systemctl restart syslog.service') |
46 | 42 | ||
47 | 43 | ||
48 | @OETestID(202) | ||
49 | @OETestDepends(['oe_syslog.SyslogTestConfig.test_syslog_logger']) | 44 | @OETestDepends(['oe_syslog.SyslogTestConfig.test_syslog_logger']) |
50 | @OEHasPackage(["busybox-syslog"]) | 45 | @OEHasPackage(["busybox-syslog"]) |
51 | @skipIfDataVar('VIRTUAL-RUNTIME_init_manager', 'systemd', | 46 | @skipIfDataVar('VIRTUAL-RUNTIME_init_manager', 'systemd', |