mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-19 03:31:27 +00:00
workaround mcelog failing
Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D843
This commit is contained in:
parent
cf543adf72
commit
05f33bbd39
@ -13,7 +13,12 @@ sub run {
|
|||||||
}
|
}
|
||||||
# switch to TTY3 for both, graphical and console tests
|
# switch to TTY3 for both, graphical and console tests
|
||||||
$self->root_console(tty=>3);
|
$self->root_console(tty=>3);
|
||||||
validate_script_output 'systemctl --failed', sub { $_ =~ m/0 loaded units/ };
|
my $output = script_output 'systemctl --failed';
|
||||||
|
if ($output =~ /1 loaded units/ && $output =~ /mcelog.service/) {
|
||||||
|
record_soft_failure;
|
||||||
|
} elsif (! $output =~ /0 loaded units/) {
|
||||||
|
die "Services other than mcelog failed to load";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user