Skip to content

Commit

Permalink
Accept - despite it does not match zypper lifecycle
Browse files Browse the repository at this point in the history
  • Loading branch information
dzedro committed Mar 31, 2023
1 parent 3f3d5b5 commit 88612f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/console/zypper_lifecycle.pm
Expand Up @@ -154,8 +154,9 @@ sub run {

select_console 'user-console';
# 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;
unless ($output =~ /$package(-\S+)?\s+$product_eol/) {
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 88612f2

Please sign in to comment.