Project

General

Profile

Actions

action #54002

closed

[qe-core][functional] Change even more occurrences of /.*_run.[' "]zypper.*/ to zypper_call

Added by dheidler almost 5 years ago. Updated about 3 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Enhancement to existing tests
Target version:
SUSE QA - Milestone 30
Start date:
2019-05-14
Due date:
% Done:

0%

Estimated time:
42.00 h
Difficulty:

Description

Acceptance criteria

  • AC1: There are no occurrences of /._run.[' "]zypper./

e.g.:

# replace
$ret = script_run("zypper -n $command $printer; ( exit \${PIPESTATUS[0]} )", $timeout);
# to
$ret = zypper_call("-n $command $printer");

The remaining occurences (after #51467 was done) where zypper is calles without using zypper_call are eg:

  • One liner scripts where eg zypper output is piped somewhere
  • Calls to zypper lifecycle that don't support the global -n option that zypper_call always adds

So we should decide, if they are worth being replaced as well.


Related issues 1 (0 open1 closed)

Copied from openQA Tests - action #51467: [functional][u] Change all occurrences of /.*_run.[' "]zypper.*/ to zypper_callResolveddheidler2019-05-14

Actions
Actions

Also available in: Atom PDF