diff options
Diffstat (limited to 'meta/lib/oeqa/runtime/cases/date.py')
-rw-r--r-- | meta/lib/oeqa/runtime/cases/date.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oeqa/runtime/cases/date.py b/meta/lib/oeqa/runtime/cases/date.py index ece7338de7..0887b831f4 100644 --- a/meta/lib/oeqa/runtime/cases/date.py +++ b/meta/lib/oeqa/runtime/cases/date.py | |||
@@ -3,6 +3,7 @@ import re | |||
3 | from oeqa.runtime.case import OERuntimeTestCase | 3 | from oeqa.runtime.case import OERuntimeTestCase |
4 | from oeqa.core.decorator.depends import OETestDepends | 4 | from oeqa.core.decorator.depends import OETestDepends |
5 | from oeqa.core.decorator.oeid import OETestID | 5 | from oeqa.core.decorator.oeid import OETestID |
6 | from oeqa.runtime.decorator.package import OEHasPackage | ||
6 | 7 | ||
7 | class DateTest(OERuntimeTestCase): | 8 | class DateTest(OERuntimeTestCase): |
8 | 9 | ||
@@ -18,6 +19,7 @@ class DateTest(OERuntimeTestCase): | |||
18 | 19 | ||
19 | @OETestID(211) | 20 | @OETestID(211) |
20 | @OETestDepends(['ssh.SSHTest.test_ssh']) | 21 | @OETestDepends(['ssh.SSHTest.test_ssh']) |
22 | @OEHasPackage(['coreutils', 'busybox']) | ||
21 | def test_date(self): | 23 | def test_date(self): |
22 | (status, output) = self.target.run('date +"%Y-%m-%d %T"') | 24 | (status, output) = self.target.run('date +"%Y-%m-%d %T"') |
23 | msg = 'Failed to get initial date, output: %s' % output | 25 | msg = 'Failed to get initial date, output: %s' % output |