os-autoinst-distri-rocky-mi.../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

21 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: