diff options
Diffstat (limited to 'meta/lib/oeqa/runtime/date.py')
| -rw-r--r-- | meta/lib/oeqa/runtime/date.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/runtime/date.py b/meta/lib/oeqa/runtime/date.py index 3a8fe84817..447987e075 100644 --- a/meta/lib/oeqa/runtime/date.py +++ b/meta/lib/oeqa/runtime/date.py | |||
| @@ -4,11 +4,11 @@ import re | |||
| 4 | 4 | ||
| 5 | class DateTest(oeRuntimeTest): | 5 | class DateTest(oeRuntimeTest): |
| 6 | 6 | ||
| 7 | def setUp(self): | 7 | def setUpLocal(self): |
| 8 | if oeRuntimeTest.tc.d.getVar("VIRTUAL-RUNTIME_init_manager", True) == "systemd": | 8 | if oeRuntimeTest.tc.d.getVar("VIRTUAL-RUNTIME_init_manager", True) == "systemd": |
| 9 | self.target.run('systemctl stop systemd-timesyncd') | 9 | self.target.run('systemctl stop systemd-timesyncd') |
| 10 | 10 | ||
| 11 | def tearDown(self): | 11 | def tearDownLocal(self): |
| 12 | if oeRuntimeTest.tc.d.getVar("VIRTUAL-RUNTIME_init_manager", True) == "systemd": | 12 | if oeRuntimeTest.tc.d.getVar("VIRTUAL-RUNTIME_init_manager", True) == "systemd": |
| 13 | self.target.run('systemctl start systemd-timesyncd') | 13 | self.target.run('systemctl start systemd-timesyncd') |
| 14 | 14 | ||
