Skip to content

Commit

Permalink
zypper_lifecycle: Workaround end of support package
Browse files Browse the repository at this point in the history
  • Loading branch information
dzedro committed Sep 30, 2024
1 parent 20b4739 commit ec305d2
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 ec305d2

Please sign in to comment.