1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-21 21:43:08 +00:00

workaround mcelog failing

Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D843
This commit is contained in:
Jan Sedlák 2016-06-01 08:12:16 +02:00
parent cf543adf72
commit 05f33bbd39

View File

@ -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";
}
} }