action #19172
closed
[sles][functional][feature] Implement a common function for systemctl commands
Added by mgriessmeier over 7 years ago.
Updated almost 7 years ago.
Category:
Enhancement to existing tests
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
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.
- Target version set to Milestone 13
- Status changed from New to Workable
- Assignee set to asmorodskyi
- Target version changed from Milestone 13 to Milestone 14
- Status changed from Workable to In Progress
- Status changed from In Progress to Resolved
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
Also available in: Atom
PDF