Project

General

Profile

Actions

action #19172

closed

[sles][functional][feature] Implement a common function for systemctl commands

Added by mgriessmeier almost 7 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Enhancement to existing tests
Start date:
2017-05-16
Due date:
% Done:

0%

Estimated time:
Difficulty:

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

Actions #1

Updated by Anonymous almost 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.

Actions #2

Updated by okurz over 6 years ago

  • Target version set to Milestone 13
Actions #3

Updated by riafarov about 6 years ago

  • Status changed from New to Workable
  • Assignee set to asmorodskyi
Actions #4

Updated by riafarov about 6 years ago

  • Target version changed from Milestone 13 to Milestone 14
Actions #5

Updated by riafarov about 6 years ago

  • Status changed from Workable to In Progress
Actions #6

Updated by riafarov about 6 years ago

  • Status changed from In Progress to Resolved
Actions #7

Updated by okurz about 6 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
Actions

Also available in: Atom PDF