Skip to content

Commit

Permalink
Add check for RC|GMC in release_notes_from_url.pm
Browse files Browse the repository at this point in the history
  • Loading branch information
sofiasyria committed Jan 11, 2024
1 parent 8a5e20d commit 3e62ab1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/installation/release_notes_from_url.pm
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@ sub run {
enter_cmd "zgrep -oh \"Got release notes.*\" /var/log/YaST2/y2log*";
assert_screen [qw(got-releasenotes-RPM got-releasenotes-URL)];
unless (match_has_tag 'got-releasenotes-URL') {
record_soft_failure('bsc#1190711 - Release notes source does NOT match expectations or not found in YaST logs, expected source: URL');
my $public = script_run('grep -rE "RC|GMC" /README.BETA');
if (!get_var('BETA') || $public) {
die 'Release notes source does NOT match expectations or not found in YaST logs, expected source: URL';
}
else {
record_info('bsc#1190711', 'Release notes source does NOT match expectations or not found in YaST logs, expected source: URL');
}
}
reset_consoles;
select_console 'installation';
Expand Down

0 comments on commit 3e62ab1

Please sign in to comment.