diff options
-rw-r--r-- | meta/lib/oeqa/runtime/date.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/lib/oeqa/runtime/date.py b/meta/lib/oeqa/runtime/date.py index 97e8ee42ad..3a8fe84817 100644 --- a/meta/lib/oeqa/runtime/date.py +++ b/meta/lib/oeqa/runtime/date.py | |||
@@ -4,6 +4,14 @@ import re | |||
4 | 4 | ||
5 | class DateTest(oeRuntimeTest): | 5 | class DateTest(oeRuntimeTest): |
6 | 6 | ||
7 | def setUp(self): | ||
8 | if oeRuntimeTest.tc.d.getVar("VIRTUAL-RUNTIME_init_manager", True) == "systemd": | ||
9 | self.target.run('systemctl stop systemd-timesyncd') | ||
10 | |||
11 | def tearDown(self): | ||
12 | if oeRuntimeTest.tc.d.getVar("VIRTUAL-RUNTIME_init_manager", True) == "systemd": | ||
13 | self.target.run('systemctl start systemd-timesyncd') | ||
14 | |||
7 | @testcase(211) | 15 | @testcase(211) |
8 | @skipUnlessPassed("test_ssh") | 16 | @skipUnlessPassed("test_ssh") |
9 | def test_date(self): | 17 | def test_date(self): |