Skip to content

Commit

Permalink
Merge pull request #20317 from dzedro/zl
Browse files Browse the repository at this point in the history
zypper_lifecycle: Workaround end of support package
  • Loading branch information
dzedro authored Sep 30, 2024
2 parents ab945fd + ec305d2 commit 2b7f3c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/console/zypper_lifecycle.pm
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,10 @@ EOF
# verify that package eol defaults to product eol
# dash is accepted in prod EOL, despite it does not match zypper lifecycle, see poo#126794
$output = script_output "zypper lifecycle $package", 300;
if (is_sle('=12-sp5') && $output =~ /ImageMagick-config-6-SUSE.*n\/a\*/) {
record_soft_failure 'poo#167602';
return;
}
unless ($output =~ /$package(-\S+)?\s+($product_eol|-$)/) {
die "$package lifecycle entry incorrect:\nOutput: '$output', expected: '/$package-\\S+\\s+$product_eol'";
}
Expand Down

0 comments on commit 2b7f3c1

Please sign in to comment.