Skip to content

Commit

Permalink
Merge pull request #18167 from DeepthiYV/select_pattern_test
Browse files Browse the repository at this point in the history
Add the conflict message to display on the openQA page
  • Loading branch information
foursixnine committed Nov 29, 2023
2 parents c30b4e8 + 1224c3a commit a926953
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/installation/select_patterns.pm
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,13 @@ sub run {
$self->accept_changes();
}

sub post_fail_hook {
my $self = shift;

select_console 'log-console';
my $ret = script_output("grep -E -m 1 \"nothing provides\" /var/log/YaST2/y2log", proceed_on_failure => 1);
record_info("Conflict:", $ret, result => 'fail') if ($ret);
$self->SUPER::post_fail_hook();
}

1;

0 comments on commit a926953

Please sign in to comment.