action #19172
closed[sles][functional][feature] Implement a common function for systemctl commands
0%
Description
Having a common function for handling systemctl
commands would be great since more and more tests use multiple systemctl calls
so unification like we have it for zypper_call would be appreciated
Updated by Anonymous over 7 years ago
There are plenty of calls which relies on the return value of systemctl, e.g. assert_script_run 'systemctl start apache2'; which isn't the case for zypper_call. If we do another wrapper for systemctl, isn't it too many layers then? I think it might be more complicated afterwards, systemctrl is a simple command anyway.
Updated by riafarov almost 7 years ago
- Status changed from New to Workable
- Assignee set to asmorodskyi
Updated by riafarov almost 7 years ago
- Target version changed from Milestone 13 to Milestone 14
Updated by riafarov almost 7 years ago
- Status changed from Workable to In Progress
Updated by riafarov almost 7 years ago
- Status changed from In Progress to Resolved
Done by Anton without a ticket: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/3322
Updated by okurz almost 7 years ago
Maybe worth to mention the commit that actually made use of this new method with
commit 21fff909 (okurz/feature/systemctl)
Author: Oliver Kurz okurz@suse.de
Date: Mon Jul 10 14:51:59 2017 +0200
Use helper function 'systemctl' where possible