diff options
-rw-r--r-- | meta/classes/testimage.bbclass | 2 | ||||
-rw-r--r-- | meta/lib/oeqa/runtime/cases/oe_syslog.py (renamed from meta/lib/oeqa/runtime/cases/syslog.py) | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index 7495fe1e14..c6e4cec426 100644 --- a/meta/classes/testimage.bbclass +++ b/meta/classes/testimage.bbclass | |||
@@ -38,7 +38,7 @@ TEST_PACKAGED_DIR ?= "${TEST_NEEDED_PACKAGES_DIR}/packaged" | |||
38 | RPMTESTSUITE = "${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'smart rpm', '', d)}" | 38 | RPMTESTSUITE = "${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'smart rpm', '', d)}" |
39 | SYSTEMDSUITE = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" | 39 | SYSTEMDSUITE = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" |
40 | MINTESTSUITE = "ping" | 40 | MINTESTSUITE = "ping" |
41 | NETTESTSUITE = "${MINTESTSUITE} ssh df date scp syslog ${SYSTEMDSUITE}" | 41 | NETTESTSUITE = "${MINTESTSUITE} ssh df date scp oe_syslog ${SYSTEMDSUITE}" |
42 | DEVTESTSUITE = "gcc kernelmodule ldd" | 42 | DEVTESTSUITE = "gcc kernelmodule ldd" |
43 | 43 | ||
44 | DEFAULT_TEST_SUITES = "${MINTESTSUITE} auto" | 44 | DEFAULT_TEST_SUITES = "${MINTESTSUITE} auto" |
diff --git a/meta/lib/oeqa/runtime/cases/syslog.py b/meta/lib/oeqa/runtime/cases/oe_syslog.py index 537c519482..005b6978d9 100644 --- a/meta/lib/oeqa/runtime/cases/syslog.py +++ b/meta/lib/oeqa/runtime/cases/oe_syslog.py | |||
@@ -18,7 +18,7 @@ class SyslogTest(OERuntimeTestCase): | |||
18 | class SyslogTestConfig(OERuntimeTestCase): | 18 | class SyslogTestConfig(OERuntimeTestCase): |
19 | 19 | ||
20 | @OETestID(1149) | 20 | @OETestID(1149) |
21 | @OETestDepends(['syslog.SyslogTest.test_syslog_running']) | 21 | @OETestDepends(['oe_syslog.SyslogTest.test_syslog_running']) |
22 | def test_syslog_logger(self): | 22 | def test_syslog_logger(self): |
23 | status, output = self.target.run('logger foobar') | 23 | status, output = self.target.run('logger foobar') |
24 | msg = "Can't log into syslog. Output: %s " % output | 24 | msg = "Can't log into syslog. Output: %s " % output |
@@ -35,7 +35,7 @@ class SyslogTestConfig(OERuntimeTestCase): | |||
35 | self.assertEqual(status, 0, msg=msg) | 35 | self.assertEqual(status, 0, msg=msg) |
36 | 36 | ||
37 | @OETestID(1150) | 37 | @OETestID(1150) |
38 | @OETestDepends(['syslog.SyslogTest.test_syslog_running']) | 38 | @OETestDepends(['oe_syslog.SyslogTest.test_syslog_running']) |
39 | def test_syslog_restart(self): | 39 | def test_syslog_restart(self): |
40 | if "systemd" != self.tc.td.get("VIRTUAL-RUNTIME_init_manager", ""): | 40 | if "systemd" != self.tc.td.get("VIRTUAL-RUNTIME_init_manager", ""): |
41 | (_, _) = self.target.run('/etc/init.d/syslog restart') | 41 | (_, _) = self.target.run('/etc/init.d/syslog restart') |
@@ -44,7 +44,7 @@ class SyslogTestConfig(OERuntimeTestCase): | |||
44 | 44 | ||
45 | 45 | ||
46 | @OETestID(202) | 46 | @OETestID(202) |
47 | @OETestDepends(['syslog.SyslogTestConfig.test_syslog_logger']) | 47 | @OETestDepends(['oe_syslog.SyslogTestConfig.test_syslog_logger']) |
48 | @OEHasPackage(["!sysklogd", "busybox"]) | 48 | @OEHasPackage(["!sysklogd", "busybox"]) |
49 | @skipIfDataVar('VIRTUAL-RUNTIME_init_manager', 'systemd', | 49 | @skipIfDataVar('VIRTUAL-RUNTIME_init_manager', 'systemd', |
50 | 'Not appropiate for systemd image') | 50 | 'Not appropiate for systemd image') |