Project

General

Profile

Actions

action #51227

closed

coordination #51224: [qe-core][functional][epic] Unify code logic for systemd related functionality

[functional][u] Move function systemctl from lib/utils.pm to lib/Utils/Systemd.pm

Added by SLindoMansilla almost 5 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Enhancement to existing tests
Target version:
SUSE QA - Milestone 26
Start date:
2019-05-07
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Motivation

utils.pm is too big.

Acceptance criteria

  • AC1: The function systemctl is only defined in Utils::Systemd
  • AC2: All modules that use systemctl are verified to work (use Utils::Systemd 'systemctl')
  • AC3: All modules that use systemctl have a specific function import for utils (like use utils 'zypper_call';)
  • AC4: None of the modules that use systemctl have a generic import for utils (use utils;)

Further details

There is an existing function called systemctl from lib/utils.pm
This function is used by many modules.
This ticket is about moving the existing systemctl function into the new library Utils::Systemd.


Related issues 1 (1 open0 closed)

Blocks openQA Tests - action #51230: [qe-core][functional] Unify all usages of systemctlBlocked2019-05-07

Actions
Actions

Also available in: Atom PDF