1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-29 09:03:08 +00:00
os-autoinst-distri-fedora/tests/uefi_postinstall.pm
Adam Williamson 7c1f59cfe8 Move UEFI postinstall to tty4 too
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-03-10 08:38:20 -08:00

22 lines
387 B
Perl

use base "installedtest";
use strict;
use testapi;
sub run {
my $self=shift;
if (not( check_screen "root_console", 0)) {
$self->root_console(tty=>4);
}
assert_screen "root_console";
# this test shows if the system is booted with efi
assert_script_run '[ -d /sys/firmware/efi/ ]';
}
sub test_flags {
return { fatal => 1 };
}
1;
# vim: set sw=4 et: